aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-16 13:29:26 +0100
committerDanilo M. <danix@danix.xyz>2026-11-16 13:29:26 +0100
commit3938f5487613765ab969865a4a8cd473d119b976 (patch)
tree552d46a421506490267b9c1b4662d940d13bd014
parent48ee8d8c2ca31126b9ef1613c570f58f9e84481c (diff)
downloadrofi-scripts-3938f5487613765ab969865a4a8cd473d119b976.tar.gz
rofi-scripts-3938f5487613765ab969865a4a8cd473d119b976.zip
powermenu: restore the agent lamp instead of udt-bulb offHEADmaster
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rwxr-xr-xbin/udt-powermenu.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/udt-powermenu.sh b/bin/udt-powermenu.sh
index d730ff9..19df17d 100755
--- a/bin/udt-powermenu.sh
+++ b/bin/udt-powermenu.sh
@@ -62,19 +62,19 @@ run_cmd() {
notify-send 'system shutdown' 'the system is going to shutdown now'
sleep 1
udt-ledstrip off
- udt-bulb off
+ agent-lamp reset
/usr/bin/loginctl poweroff
elif [[ $1 == '--reboot' ]]; then
notify-send 'system reboot' 'the system is going to reboot now'
sleep 1
udt-ledstrip off
- udt-bulb off
+ agent-lamp reset
/usr/bin/loginctl reboot
elif [[ $1 == '--sleep' ]]; then
notify-send 'suspend to ram' 'the system is going to sleep now'
sleep 1
udt-ledstrip sleep
- udt-bulb off
+ agent-lamp reset
/usr/bin/loginctl suspend
elif [[ $1 == '--logout' ]]; then
hyprctl dispatch 'hl.dsp.exit()'