From fda374502aa2aaa59e7fcd7f6ecfdb2fcf02a289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Tue, 29 Nov 2022 20:39:41 -0300 Subject: [PATCH] sway: enable adaptive sync --- user/sway.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/user/sway.nix b/user/sway.nix index d9833f0..915f1e6 100644 --- a/user/sway.nix +++ b/user/sway.nix @@ -63,7 +63,15 @@ in { unfocused = client bg_color bg_color fg_color bg_color bg_color; urgent = client alert alert fg_color alert alert; }; - output = { "*" = { bg = "${theme.background} fill"; }; }; + output = { + "*" = { + adaptive_sync = "on"; + bg = "${theme.background} fill"; + }; + "DP-1" = { + mode = "1920x1080@144.000Hz"; + }; + }; fonts = { names = [ font.interface ]; size = font.size.medium * 1.0;