Wallpaper wont change when an app is in fullscreen
Greetings,
I have this script in my hyprland config file:
#!/bin/sh
cd ~/Wallpapers/.
while true
do
swww-daemon &
file="$(ls *.* | sort -R | tail -1)"
swww img "$file" --transition-type random --transition-fps 165
sleep 1m
done
Whenever I go full screen with an app, like a presentation, a game, youtube video, Chrome remote desktop.. the wallpaper stops changing, As soon as I either get out of full screen or switch to a workspace away from the fullscreen app, all the wallpapers "stuck" will cycle very quickly.
The following video demonstrates the problem, I have been playing Stalker 2 for a few hours, I switched from workspace 4 where the game is, to workspace 6, when doing that all the wallpapers in queue cycle quickly:
https://www.twitch.tv/cheeki________breeki/clip/SplendidFancyPoxSmoocherZ-d1XSCUmkqs2H9Dtx
Eventually I go back to workspace 4 and continue with the game.
Thanks!
You're launching a new swww-daemon instance every minute :-) move it out of the loop:
#!/bin/sh
cd ~/Wallpapers/.
swww-daemon &
while true
do
file="$(ls *.* | sort -R | tail -1)"
swww img "$file" --transition-type random --transition-fps 165
sleep 1m
done
This is actually a duplicate of the newer #430. I am going to keep track of this over there for now.
You're launching a new swww-daemon instance every minute :-) move it out of the loop:
#!/bin/sh cd ~/Wallpapers/. swww-daemon & while true do file="$(ls *.* | sort -R | tail -1)" swww img "$file" --transition-type random --transition-fps 165 sleep 1m done
Have you ever tried to running "swww-daemon & " if swww is already running?. I doubt you have.