This commit is contained in:
nnduc
2026-09-25 14:35:35 +07:00
parent 55cb16f74c
commit b2b943f666
8 changed files with 85 additions and 22 deletions
+7 -2
View File
@@ -22,8 +22,8 @@ set $term alacritty
set $menu rofi -show drun
# Font for window titles.
font pango:NotoSans 12
font pango:DejaVu Sans Mono 8
### Output configuration
#
set $wallpaper_dir /media/sync/images/wallpapers
@@ -36,7 +36,9 @@ exec --no-startup-id ~/.config/sway/scripts/wallpaper-rotate $wallpaper_dir
#output HDMI-A-1 resolution 1920x1080@120hz position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
output DP-2 adaptive_sync on
# adaptive_sync on the desktop makes sway stutter/flicker; 120Hz avoids AMD
# VRAM clock flicker at high refresh (see README).
output DP-1 mode 1920x1080@120Hz adaptive_sync off allow_tearing yes
### Idle configuration
#
@@ -80,6 +82,9 @@ exec swayidle -w \
input "2:7:SynPS/2_Synaptics_TouchPad" {
events disabled_on_external_mouse
}
input "type:pointer" {
accel_profile "flat" # no mouse acceleration for all pointers
}
input "5426:156:Razer_Razer_DeathAdder_V2_X_HyperSpeed_Mouse" {
accel_profile "flat" # disable mouse acceleration (enabled by default; to set it manually, use "adaptive" instead of "flat")
pointer_accel 0.5 # set mouse sensitivity (between -1 and 1)