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
#!/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:
Thank God, someone who tests on latest master 😅 . Try applying #410, and see if it fixes it. There was a memory leak we have fixed in #410. That's probably what's causing this.
Ah, my bad, PR #410 should actually fix #412, not this. Since you are the one who opened both issues I confused them a bit.
Thank God, someone who tests on latest master 😅 . Try applying #410, and see if it fixes it. There was a memory leak we have fixed in #410. That's probably what's causing this.
Ah, my bad, PR #410 should actually fix #412, not this. Since you are the one who opened both issues I confused them a bit.
PR #410 seems to have fixed a crashing issue i was having (guessing its same one as @i686-underflow ), could get it to trigger within 10-15s by just spamming different wallpapers a lot, but now not crashing at all 👍
i do get 263368ms [ERROR] We failed to find wayland buffer with id: 8. This should be impossible. 263368ms [ERROR] We failed to find wayland buffer with id: 14. This should be impossible. sometimes but doesnt seem to be causing any immediate issues
EDIT
oh just realised i commented this on wrong issue meant to be for #412
Hello! 😁
Title says it all! Using the following, animations are only applied to monitor 1 (landscape, 1440), but not monitor 2 (portrait, 1080):
swww img -t random --transition-fps $FPS --transition-step $STEP -o "$2" "$img"
Expected Behavior:
Animation is applied to both landscape and portrait-oriented wallpapers.
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: