varietywalls / variety

Wallpaper downloader and manager for Linux systems
http://peterlevi.com/variety
GNU General Public License v3.0
1.12k stars 137 forks source link

Wallpaper Changes to-and-fro when resuming from --pause state after `change wallpaper time` expires #690

Open KAGEYAM4 opened 3 months ago

KAGEYAM4 commented 3 months ago

Version of Variety 0.8.12

Describe the bug If you set the variety --pause and after change wallpaper every x min/sec/hour expires, and then variety --resume, wallpaper will change in succession twice.

To Reproduce

  1. Set Change wallpaper every time to 15s or any time ( short time is to repoduce the behaviour quickly )
  2. use variety --pause
  3. Start counting time, after 15seconds has passed or anytime which were set in variety.
  4. use variety --resume

Attach Variety's log file

I used the -v and inspected the log, couldn't find anything useful.

Desktop environment and version

Hyprland v0.37.1

I am using this in set_wallpaper script to set wallpaper->

swww img "$1" \
--transition-type grow \
--transition-duration 2 \
--transition-step 255 \
--transition-fps 144 \
--invert-y \
--transition-pos "$( hyprctl cursorpos )"

OS name and version

 OS : Arch Linux x86_64  Kernel : 6.8.1-zen1-1-zen

[ArchLinux ~]$ cat /etc/issue && cat /etc/os-release
Arch Linux \r (\l)

NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo