varietywalls / variety

Wallpaper downloader and manager for Linux systems

Home Page:http://peterlevi.com/variety

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`set_wallpaper` is called each time `variety --pause` and `variety --resume` is executed

KAGEYAM4 opened this issue · comments

Version of Variety
0.8.12

Describe the bug
variety is calling set_wallpaper when variety --pause, variety --resume is executed.

To Reproduce

  1. modify set_wallpaper script and add this notify-send "wallpaper changed"
  2. execute variety --pause
  3. execute variety --resume

OBSERVAION - two notification will be created, means - set _wallpaper was called two times.

My config for set_wallpaper

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

notify-send "wallpaper Changed"

Desktop environment and version
Hyprland v0.37.1

OS name and version
Linux ArchLinux 6.8.1-zen1-1-zen