ENH add lock to suspend/hibernate

This commit is contained in:
Nathan Dwarshuis 2020-02-16 01:47:24 -05:00
parent 217725c6cd
commit 2ac0b8e12b
1 changed files with 2 additions and 2 deletions

View File

@ -184,8 +184,8 @@ myPowerPrompt = mkXPrompt PowerPrompt conf comps
conf = myPromptTheme
commands =
[ ("poweroff", spawn "systemctl poweroff")
, ("suspend", spawn "systemctl suspend")
, ("hibernate", spawn "systemctl hibernate")
, ("suspend", spawn myScreenLock >> spawn "systemctl suspend")
, ("hibernate", spawn myScreenLock >> spawn "systemctl hibernate")
, ("reboot", spawn "systemctl reboot")
]