Skip to content

Commit

Permalink
γ€ŒπŸš§γ€ test(hyprland): enabled explicit_sync and tearing
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-koh committed Sep 22, 2024
1 parent f14e1cd commit 47dde70
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
15 changes: 12 additions & 3 deletions modules/home-manager/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
"noblur, class:^(polkit-gnome-authentication-agent-1)$"
"dimaround, class:^(polkit-gnome-authentication-agent-1)$"
"stayfocused, class:^(polkit-gnome-authentication-agent-1)$"

"immediate, class:^(steam_app_.*)$"
"immediate, class:^(gamescope)$"
"immediate, class:^(Minecraft.*)$"
"immediate, class:^(osu\!)$"
"immediate, class:^(overwatch\.exe)$"
];

exec-once = [
Expand All @@ -57,8 +63,8 @@
};

render = {
explicit_sync = 0;
explicit_sync_kms = 0;
explicit_sync = 1;
explicit_sync_kms = 1;
direct_scanout = true;
};

Expand Down Expand Up @@ -139,8 +145,11 @@
mouse_move_enables_dpms = true;
key_press_enables_dpms = true;
focus_on_activate = true;
initial_workspace_tracking = 1;
initial_workspace_tracking = 2;
middle_click_paste = false;
render_unfocused_fps = 60;
vrr = 1;
vfr = true;
};

plugin = {
Expand Down
1 change: 0 additions & 1 deletion modules/home-manager/kitty/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
programs.kitty = {
enable = true;
shellIntegration.enableZshIntegration = true;
settings = {
repaint_delay = 10;
sync_to_monitor = "yes";
Expand Down

0 comments on commit 47dde70

Please sign in to comment.