The idea behind this script is to only use VRR when a application is in fullscreen mode, here's the features:
- Has multi monitor support through a output whitelist config (I'd like this to be automatic in the future but there doesn't seem to be any way in swaymsg to identify if a output is VRR capable, one thing which comes to mind is checking EDID for VRR range).
- Determine if VRR needs to be toggled when a application is in fullscreen mode (which is how Windows does it usually and it's a option in Hyprland). This applies to:
- Opening a app
- Changing focus
- Switching workplaces
- Going into fullscreen mode (e.g. Youtube videos in Chromium)