Revert "remove fullscreen only vrr"

This reverts commit 1fcf1ecd52.
This commit is contained in:
Leonardo Eugênio 2026-08-14 23:44:28 -03:00
parent 4985309552
commit 7e1e8b59e4
3 changed files with 45 additions and 0 deletions

View file

@ -138,6 +138,21 @@ in
services.gpg-agent.pinentry.package = pkgs.pinentry-all;
systemd.user.services.vrr-fullscreen = {
Unit = {
Description = "Enable VRR for fullscreen windows";
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${lib.getExe pkgs.vrr-fullscreen}";
Restart = "on-failure";
};
Install = {
WantedBy = [ "sway-session.target" ];
};
};
xdg.configFile."OpenTabletDriver/settings.json" = {
force = true;
source = ./open-tablet-driver.json;