14 lines
254 B
Bash
Executable File
14 lines
254 B
Bash
Executable File
#!/bin/bash
|
|
|
|
CONFIG_FILES="$HOME/.config/waybar/config $HOME/.config/waybar/*.css $HOME/.config/waybar/*.sh"
|
|
|
|
killall waybar;
|
|
|
|
trap "killall waybar" EXIT
|
|
|
|
while true; do
|
|
waybar &
|
|
inotifywait -e create,modify $CONFIG_FILES
|
|
killall waybar
|
|
done
|