One thing that annoys me about Wayland is that waybar (and all bars iirc) cover the wallpaper. It’s a nitpick but on X11 I could have artwork fully visible without getting covered by the status bar.
I just recently started using swww and it’s working great so far.
Using it to automatically set the most recent photo from https://www.foto-webcam.eu/, which gives me quite some joy on long days in front of my screen.
#!/usr/bin/env bash
set -ueo pipefail
set_image=""
last_image=""
wallpaper_path="${HOME}/static/pictures/wallpapers"
while true; do
if test -z "${set_image}" && ! curl --connect-timeout 1 -sS -D - https://www.foto-webcam.eu/favicon.ico | grep -qs 200; then
swww img --transition-fps 59 --transition-type random "$(find "${wallpaper_path}" -type f | shuf -n 1)"
sleep 10s
continue
fi
test -z "${set_image}" || sleep 1m
last_image="$(curl -qs 'https://www.foto-webcam.eu/webcam/include/list.php?img=&wc=wien&histpos=0&ww=1345' | jq -r '.uhdimg')" || continue
if ! [ "${last_image}" == "${set_image}" ]; then
curl -qs -L -o /tmp/bg.jpg "https://www.foto-webcam.eu/webcam/wien/${last_image}" || continue
swww img --transition-fps 59 --transition-type random /tmp/bg.jpg
set_image="${last_image}"
sleep 5m
fi
done
One thing that annoys me about Wayland is that waybar (and all bars iirc) cover the wallpaper. It’s a nitpick but on X11 I could have artwork fully visible without getting covered by the status bar.
Are you talking about a specific status bar? On all WMs I used (dwm, awesome) and with lemonbar, it’d also cover the wallpaper.
You know what, I think you’re right, I’m being really stupid. I was using i3 and polybar.
Waybar is by default transparent, polybar is not. I’m probably just more aware of it now due to the transparent bar, which is likely tweakable.
I just recently started using
swwwand it’s working great so far. Using it to automatically set the most recent photo from https://www.foto-webcam.eu/, which gives me quite some joy on long days in front of my screen.