loqusion / hyprshade

Hyprland shader configuration tool
MIT License
280 stars 7 forks source link

Add the gradual_shift_duration option to shaders, scheduled in systemd #29

Open guillaumeboehm opened 6 months ago

guillaumeboehm commented 6 months ago

Same feature as https://github.com/loqusion/hyprshade/pull/30, different implementation.

This PR adds the gradual_shift_duration option to shaders in hyprshade.toml.

The option will set scheduled steps(to discuss) to increment the gradualPercentage glsl variable if the concerned shader is a templage. If the shader is not a template or does not implement the gradualPercentage variable, gradual_shift_duration will have no effect.