Suspend to RAM added.

This commit is contained in:
#root_informatica 2023-08-24 11:29:51 -03:00
parent 46a15f3731
commit f2681af087

View file

@ -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
;;