Suspend to RAM added.
This commit is contained in:
parent
46a15f3731
commit
f2681af087
1 changed files with 7 additions and 3 deletions
|
@ -7,11 +7,12 @@
|
|||
KBRELOAD="pkill -usr1 -x sxhkd" # keybindings reload
|
||||
LOCK="slock" # lock screen monitor
|
||||
MOFF="xset dpms force off" # poweroff monitor
|
||||
HB="doas zzz -Z" # hibernate
|
||||
SP="doas zzz -z" # suspend to RAM
|
||||
HB="doas zzz -Z" # hibernate
|
||||
RB="doas shutdown -r now" # reboot
|
||||
POFF="doas shutdown -h now" # poweroff
|
||||
EXIT="pkill wew && pkill sxhkd" # exit session
|
||||
PROMPT="reload-key\nlock\nmonitor-off\nhalt\nreboot\nhibernate\nexit"
|
||||
EXIT="pkill sxhkd; pkill wew" # exit session
|
||||
PROMPT="reload-key\nlock\nmonitor-off\nhalt\nreboot\nsuspend\nhibernate\nexit"
|
||||
|
||||
option=`echo $PROMPT | $XMENU`
|
||||
if [ ${#option} -gt 0 ]; then
|
||||
|
@ -25,6 +26,9 @@ if [ ${#option} -gt 0 ]; then
|
|||
monitor-off)
|
||||
$MOFF
|
||||
;;
|
||||
suspend)
|
||||
$SP
|
||||
;;
|
||||
hibernate)
|
||||
$HB
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue