[Linux] Generalize taffybar restart

This commit is contained in:
2016-09-19 20:03:30 -07:00
parent 6baea11ebd
commit 1109f11e2b
3 changed files with 4 additions and 4 deletions

3
dotfiles/lib/bin/restart.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
pkill "$1"
nohup "$@" & >"/tmp/$1.out" 2>"/tmp/$1.error"

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env sh
pkill taffybar
taffybar $@