forked from colonelpanic/dotfiles
[Linux] Generalize taffybar restart
This commit is contained in:
parent
6baea11ebd
commit
1109f11e2b
3
dotfiles/lib/bin/restart.sh
Executable file
3
dotfiles/lib/bin/restart.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
pkill "$1"
|
||||
nohup "$@" & >"/tmp/$1.out" 2>"/tmp/$1.error"
|
@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
pkill taffybar
|
||||
taffybar $@
|
@ -32,7 +32,7 @@ addKeys conf@XConfig {modMask = modm} =
|
||||
[ ((modm, xK_p), spawn "rofi -show drun")
|
||||
, ((modm .|. shiftMask, xK_p), spawn "rofi -show run")
|
||||
, ((modm, xK_g), spawn "rofi -show window")
|
||||
, ((modm .|. controlMask, xK_t), spawn "restart_taffybar.sh")
|
||||
, ((modm .|. controlMask, xK_t), spawn "restart.sh taffybar")
|
||||
-- TODO: Change this to bringing the window to the current workspace
|
||||
, ((modm, xK_b), bringMenuArgs' "rofi" ["-dmenu"])
|
||||
, ((modm .|. controlMask, xK_space), sendMessage $ JumpToLayout "Full")
|
||||
|
Loading…
Reference in New Issue
Block a user