Move to proper systemctl suspend for sleep, update flake

This commit is contained in:
Jimbo 2024-12-25 02:47:12 -05:00
parent 95f498528d
commit 2d7383076a
8 changed files with 4 additions and 658 deletions

View file

@ -138,8 +138,8 @@
case $POWER in
Shutdown) poweroff;;
Reboot) reboot;;
Sleep) sleep-$XDG_CURRENT_DESKTOP &;;
Lock) swaylock &;;
Lock) swaylock;;
Sleep) swaylock & systemctl suspend;;
Kill) pkill -9 $XDG_CURRENT_DESKTOP;;
esac
'')