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

Automatically Pause variety when in FullScreen Mode #692

Open KAGEYAM4 opened 3 months ago

KAGEYAM4 commented 3 months ago

Version of Variety you are using 0.8.12

Is your feature request related to a problem? Please describe. This request is similar to https://github.com/LGFae/swww/issues/181, quoting from there - I have to run 'swww kill' if I want to game or I get microstuttering in-game. It would be cool to be able to pause swww somehow. This is talking about pausing gif which is being played by swww as a wallpaper.

Similarly i wanted to pause variety in fullscreen mode so it does not call swww. I do have a script setup which loops through hyprland socker and reads wether fullscreen is enabled or not, but it is not efficient as the call focused on only window, so if a window is fullScreened, but i change workspace, variety wold still be in pause state even though at this workspace no window is fullScreened.

Describe the solution you'd like Pause variety when if Window is in full-Screen Mode.