restart xmonad: compile with stack beforehand
This commit is contained in:
parent
dbdcf8c70c
commit
fd3d735ab9
1 changed files with 4 additions and 1 deletions
|
@ -60,5 +60,8 @@ myXMonadBindings = [
|
||||||
("S-q", quitXMonad)
|
("S-q", quitXMonad)
|
||||||
]
|
]
|
||||||
where
|
where
|
||||||
restartXMonad = spawn "if type xmonad; then xmonad --recompile && xmonad --restart; else xmessage xmonad not in \\$PATH: \"$PATH\"; fi"
|
|
||||||
quitXMonad = io exitSuccess
|
quitXMonad = io exitSuccess
|
||||||
|
|
||||||
|
|
||||||
|
restartXMonad :: X ()
|
||||||
|
restartXMonad = spawn "if type xmonad; then cd ~/.config/xmonad; stack install; xmonad --recompile && xmonad --restart; else xmessage xmonad not in \\$PATH: \"$PATH\"; fi"
|
||||||
|
|
Loading…
Reference in a new issue