Last active
March 5, 2021 19:09
-
-
Save BrunoGiubilei/59c2b48a64a64d3294bb2e278c962a9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
init() { | |
killall -q polybar | |
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done | |
polybar sensual | |
echo "Polybar relançada..." | |
'repeater' | |
} | |
repeater() { | |
while read j | |
do | |
'init' | |
break | |
done < <(inotifywait -e modify ~/.config/polybar/config) | |
} | |
'init' & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment