add hibernate option
This commit is contained in:
parent
a4e239898c
commit
6b601bfa4b
2 changed files with 17 additions and 1 deletions
|
|
@ -226,10 +226,12 @@ in
|
|||
name = "lock";
|
||||
text = ''
|
||||
res=$(echo "lock
|
||||
sleep" | ${my-deps.menu})
|
||||
sleep
|
||||
hibernate" | ${my-deps.menu})
|
||||
case $res in
|
||||
lock) swaylock;;
|
||||
sleep) systemctl suspend;;
|
||||
hibernate) systemctl hibernate;;
|
||||
esac
|
||||
'';
|
||||
hotkeys = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue