waybar: optimize

This commit is contained in:
2025-06-14 22:47:36 +02:00
parent 43399667b4
commit adec35443c
2 changed files with 4 additions and 3 deletions

View File

@@ -21,8 +21,8 @@ sleep 0.3 # Allow hypridle to start
pid=$(pgrep -x "hypridle")
if [ -n "$pid" ]; then
output "inactive" "inactive"
notify-send "Caffeine disabled" "Caffeine mode is now inactive."
notify-send "Caffeine disabled" "zzz..."
else
output "active" "active"
notify-send "Caffeine enabled" "Caffeine mode is now active."
notify-send "Caffeine enabled" "POWERRR!!!"
fi