You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What might be interesting to note is that the swww process itself does not seem to die and is visible in a process monitor. Similarly, after killing everything and restarting both scripts (1 for each monitor), the daemon is still recognized as being alive and it remembers its state (picking up from where it "left off"). Not sure how much of this is expected or not.
Edited to clarify that both displays are crashing in sync with each other.
Expected Behavior:
Wallpapers are displayed for as long the active session remains.
#!/usr/bin/env bash# If swww-daemon doesn't exist, start itif! pidof -qx swww-daemon;then
swww-daemon &fi# This script will randomly go through the files of a directory, setting it# up as the wallpaper at regular intervals## NOTE: this script is in bash (not posix shell), because the RANDOM variable# we use is not defined in posixif [[ $#-lt 1 ]] || [[ !-d$1 ]];thenecho"Usage:$0 <dir containing images>"exit 1
fi# Edit below to control the images transition
FPS=30
STEP=2
# This controls (in seconds) when to switch to the next image
INTERVAL=210
whiletrue;do
find "$1" -type f \
|whileread -r img;doecho"$((RANDOM %1000)):$img"done \
| sort -n | cut -d':' -f2- \
|whileread -r img;do
swww img -t random --transition-fps $FPS --transition-step $STEP -o "$2""$img"
sleep $INTERVALdonedone
Environment:
OS: NixOS 24.11 (Vicuna) x86_64
SWWW Version: swww 0.9.5-masterV3
WM: Hyprland 0.45.2 (Wayland)
AMD64 Ryzen CPU + Discrete AMD graphics
Display: 2560x1440 (Landscape)
Display: 1920x1080 (Portrait)
The text was updated successfully, but these errors were encountered:
I'm very happy to report that I have been performing some burn-in tests over the past ~1 week since building rev b5eb33401be5264591021355c5661ef728e2f811 (some > 72 hours), and everything is super rock solid!
Uh oh!
There was an error while loading. Please reload this page.
Hello! 😁
Title says it all! Using the following,
swww
"crashes" reliably (~100%) after approx. 12-15 hours of uptime (no sleep/hibernate/logging out/etc.):swww img -t random --transition-fps $FPS --transition-step $STEP -o "$2" "$img"
What might be interesting to note is that the
swww
process itself does not seem to die and is visible in a process monitor. Similarly, after killing everything and restarting both scripts (1 for each monitor), the daemon is still recognized as being alive and it remembers its state (picking up from where it "left off"). Not sure how much of this is expected or not.Edited to clarify that both displays are crashing in sync with each other.
Expected Behavior:
Wallpapers are displayed for as long the active session remains.
To Reproduce:
Build
swww
from latest(?) masterConfigure displays in
hyprland.conf
as follows:in
hyprland.conf
:where
start.sh
is as follows:Environment:
The text was updated successfully, but these errors were encountered: