refactor(hypr): improve handling of swww launcher

This commit is contained in:
Price Hiller 2023-12-27 21:49:15 -06:00
parent f3d0bdce72
commit 84741d9e7a
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -51,11 +51,11 @@ init() {
until swww init; do
sleep .1
done
log "swww daemon started"
}
main() {
init
log "swww daemon running, setting wallpapers"
while :; do
while IFS= read -r line
do
@ -65,7 +65,7 @@ main() {
sleep .1
done < <(swww query)
sleep .5
swww init
init
done
}