add waybar launch script
This commit is contained in:
parent
823c5a4496
commit
1ef72f084f
1 changed files with 11 additions and 0 deletions
11
config/waybar/launch-waybar.sh
Executable file
11
config/waybar/launch-waybar.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
CONFIG_FILES="/home/sako/.config/waybar/config /home/sako/.config/waybar/style.css"
|
||||||
|
|
||||||
|
trap "killall waybar" EXIT
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
waybar &
|
||||||
|
inotifywait -e create,modify $CONFIG_FILES
|
||||||
|
killall waybar
|
||||||
|
done
|
Loading…
Reference in a new issue