From d2d735742ca61b211c9b48a2209d36395daebcf4 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Thu, 17 Nov 2022 10:56:25 -0800 Subject: + add existing config --- dot_config/i3/scripts/executable_ppd-status | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dot_config/i3/scripts/executable_ppd-status (limited to 'dot_config/i3/scripts/executable_ppd-status') diff --git a/dot_config/i3/scripts/executable_ppd-status b/dot_config/i3/scripts/executable_ppd-status new file mode 100644 index 0000000..8e6eb7b --- /dev/null +++ b/dot_config/i3/scripts/executable_ppd-status @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +# +# power-profiles-daemon implementation: +# needs package power-profiles-daemon installed and the service running see here: +# https://wiki.archlinux.org/title/CPU_frequency_scaling#power-profiles-daemon +# used in i3-blocks: ~/.config/i3/i3blocks.conf together with: ~/.config/i3/scripts/power-profiles + +# script to show current power profile + +current_profile=$(/usr/bin/powerprofilesctl get) +echo "$current_profile" -- cgit v1.2.3