REF make commands explicit so we can easily add to individual ones later
This commit is contained in:
parent
a020dbe82f
commit
07e6786632
|
@ -182,8 +182,11 @@ myPowerPrompt = mkXPrompt PowerPrompt conf comps
|
||||||
comps = (mkComplFunFromList' (map fst commands))
|
comps = (mkComplFunFromList' (map fst commands))
|
||||||
conf = hotPromptTheme
|
conf = hotPromptTheme
|
||||||
commands =
|
commands =
|
||||||
map (\cmd -> (cmd, spawn $ "systemctl " ++ cmd))
|
[ ("poweroff", spawn "systemctl poweroff")
|
||||||
[ "poweroff", "suspend", "reboot", "hibernate"]
|
, ("suspend", spawn "systemctl suspend")
|
||||||
|
, ("hibernate", spawn "systemctl hibernate")
|
||||||
|
, ("reboot", spawn "systemctl reboot")
|
||||||
|
]
|
||||||
|
|
||||||
-- osd
|
-- osd
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue