diff --git a/config/waybar/launch-waybar.sh b/config/waybar/launch-waybar.sh new file mode 100755 index 00000000..a7ac524d --- /dev/null +++ b/config/waybar/launch-waybar.sh @@ -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