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 " " [ command = lib.concatStringsSep " " [
"swayidle -w" "swayidle -w"
"timeout 300 'notify-send \"Idling in 300 seconds\"'" "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 480 'notify-send -u critical \"Idling in 120 seconds\"'"
"timeout 510 'notify-send -u critical \"Idling in 90 seconds\"'" "timeout 510 'notify-send -u critical \"Idling in 90 seconds\"'"
"timeout 540 'notify-send -u critical \"Idling in 60 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 599 'notify-send -u critical \"Idling in 1 second!\"'"
"timeout 600 'swaylock -f'" "timeout 600 'swaylock -f'"
"timeout 600 'swaymsg \"output * dpms off\"'" "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'" "before-sleep 'swaylock'"
]; ];
} }

View file

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

View file

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