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:
parent
3df3aa19f9
commit
1fa52fcbbc
@ -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
|
||||
}
|
||||
'';
|
||||
|
||||
|
10
src/main.nix
10
src/main.nix
@ -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.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user