diff options
Diffstat (limited to 'scripts/power-profiles.sh')
| -rwxr-xr-x | scripts/power-profiles.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/power-profiles.sh b/scripts/power-profiles.sh new file mode 100755 index 0000000..ec6e84e --- /dev/null +++ b/scripts/power-profiles.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +powerprofilesctl | awk '/:$/ {gsub(/[:*]/,""); print $1}' | rofi -dmenu | xargs powerprofilesctl set + +CURRENT_PROFILE="$(powerprofilesctl get)" +notify-send -u normal -i preferences-system-power "Profile Updated" "Current Profile: $CURRENT_PROFILE" |
