Move to proper systemctl suspend for sleep, update flake
This commit is contained in:
parent
95f498528d
commit
2d7383076a
8 changed files with 4 additions and 658 deletions
|
@ -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
|
||||
'')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue