adaptive sync

This commit is contained in:
nnduc
2026-09-25 14:37:26 +07:00
parent b2b943f666
commit 05e604fe27
+3
View File
@@ -48,6 +48,9 @@ output DP-1 mode 1920x1080@120Hz adaptive_sync off allow_tearing yes
# after being restarted via systemd earlier. # after being restarted via systemd earlier.
exec --no-startup-id systemctl --user import-environment WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP DISPLAY exec --no-startup-id systemctl --user import-environment WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP DISPLAY
exec --no-startup-id hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP DISPLAY exec --no-startup-id hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP DISPLAY
# gamemoded keeps the env it started with (e.g. from an i3 session); restart it
# so its swaymsg hooks (~/.config/gamemode.ini) can reach this sway.
exec --no-startup-id systemctl --user import-environment SWAYSOCK && systemctl --user try-restart gamemoded
# #
# Example configuration: # Example configuration:
# #