1
0
forked from extern/nix-config

Revert "meta: Disable vfr at the gamemode level"

This completely broke gamemode notifications. Luckily we're using NixOS
so a revert was as easy as `git revert` and `nixos-rebuild`.
This commit is contained in:
Donovan Glover 2023-06-13 11:13:22 -04:00
parent 3df3aa19f9
commit 1fa52fcbbc
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 3 additions and 8 deletions

View File

@ -201,6 +201,7 @@ let VARIABLES = import ../../src/variables.nix; in {
animate_manual_resizes = yes
animate_mouse_windowdragging = yes
focus_on_activate = yes
vfr = no
}
'';

View File

@ -54,14 +54,8 @@ let VARIABLES = import ./variables.nix; in {
};
custom = {
start = /* bash */ ''
${pkgs.hyprland}/bin/hyprctl keyword misc:vfr no
${pkgs.libnotify}/bin/notify-send 'Note' 'gamemode started from host.'
'';
end = /* bash */ ''
${pkgs.hyprland}/bin/hyprctl keyword misc:vfr yes
${pkgs.libnotify}/bin/notify-send 'Note' 'gamemode ended from host.'
'';
start = "${pkgs.libnotify}/bin/notify-send 'Note' 'gamemode started.'";
end = "${pkgs.libnotify}/bin/notify-send 'Note' 'gamemode ended.";
};
};
};