ENH add lock to suspend/hibernate
This commit is contained in:
parent
217725c6cd
commit
2ac0b8e12b
|
@ -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")
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue