.dotfiles/configs/waybar/dev.sh

14 lines
254 B
Bash
Raw Normal View History

2021-11-02 18:26:26 +01:00
#!/bin/bash
2021-11-10 13:09:54 +01:00
CONFIG_FILES="$HOME/.config/waybar/config $HOME/.config/waybar/*.css $HOME/.config/waybar/*.sh"
2021-11-02 18:26:26 +01:00
2021-11-08 01:29:28 +01:00
killall waybar;
2021-11-02 18:26:26 +01:00
trap "killall waybar" EXIT
while true; do
waybar &
inotifywait -e create,modify $CONFIG_FILES
killall waybar
done