add waybar launch script

This commit is contained in:
Sakooooo 2023-07-22 19:43:21 +03:00
parent 823c5a4496
commit 1ef72f084f
Signed by: sako
GPG key ID: 3FD715D87D7725E0

11
config/waybar/launch-waybar.sh Executable file
View 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