dotfiles/home/dot_config/waybar/executable_launch.sh

12 lines
215 B
Bash
Raw Normal View History

2023-02-25 16:18:35 +00:00
#!/bin/bash
CONFIG_FILES="$HOME/.config/waybar/config $HOME/.config/waybar/style.css"
trap "killall waybar" EXIT
while true; do
waybar &
inotifywait -e create,modify $CONFIG_FILES
killall waybar
done