diff options
| author | subh <subh@example.com> | 2026-01-25 02:14:01 +0530 |
|---|---|---|
| committer | subh <subh@example.com> | 2026-01-25 02:14:01 +0530 |
| commit | 3d65c7c616991ec002f457bd235dad72e89af1c8 (patch) | |
| tree | eb8404dfdb6427fb078b670a6f0cecc2aceab512 | |
| parent | 14c0bfd5d4f63f49196e818c2c2bbd2488d8f4fe (diff) | |
Added power profiles toggler script
| -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" |
