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
|
conf = myPromptTheme
|
||||||
commands =
|
commands =
|
||||||
[ ("poweroff", spawn "systemctl poweroff")
|
[ ("poweroff", spawn "systemctl poweroff")
|
||||||
, ("suspend", spawn "systemctl suspend")
|
, ("suspend", spawn myScreenLock >> spawn "systemctl suspend")
|
||||||
, ("hibernate", spawn "systemctl hibernate")
|
, ("hibernate", spawn myScreenLock >> spawn "systemctl hibernate")
|
||||||
, ("reboot", spawn "systemctl reboot")
|
, ("reboot", spawn "systemctl reboot")
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue