From 3d65c7c616991ec002f457bd235dad72e89af1c8 Mon Sep 17 00:00:00 2001 From: subh Date: Sun, 25 Jan 2026 02:14:01 +0530 Subject: Added power profiles toggler script --- scripts/power-profiles.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/power-profiles.sh 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" -- cgit v1.2.3