Resume fixes

This commit is contained in:
Daniel Flanagan 2024-01-13 14:38:17 -06:00
parent 48932dc77e
commit 593530c21f
3 changed files with 21 additions and 21 deletions

View file

@ -134,7 +134,7 @@
command = lib.concatStringsSep " " [
"swayidle -w"
"timeout 300 'notify-send \"Idling in 300 seconds\"'"
"resume 'notify-send \"Idling cancelled.\"'"
"after-resume 'notify-send \"Idling cancelled.\"'"
"timeout 480 'notify-send -u critical \"Idling in 120 seconds\"'"
"timeout 510 'notify-send -u critical \"Idling in 90 seconds\"'"
"timeout 540 'notify-send -u critical \"Idling in 60 seconds!\"'"
@ -151,7 +151,7 @@
"timeout 599 'notify-send -u critical \"Idling in 1 second!\"'"
"timeout 600 'swaylock -f'"
"timeout 600 'swaymsg \"output * dpms off\"'"
"resume 'swaymsg \"output * dpms on\" & maybe-good-morning &'"
"after-resume 'swaymsg \"output * dpms on\" & maybe-good-morning &'"
"before-sleep 'swaylock'"
];
}

View file

@ -67,7 +67,7 @@
pamixer
# pavucontrol
playerctl
# pulseaudio
pulseaudio
pulsemixer
# rclone
# restic

View file

@ -25,7 +25,7 @@
hyprland
printing
ewwbar
melee
# melee
];
home-manager.users.daniel = {