forked from colonelpanic/dotfiles
[Linux] Generalize taffybar restart
This commit is contained in:
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 $@
|
||||
Reference in New Issue
Block a user