feat: add a hyprland layer rule so slurp border is not present in screenshots, add monitor rule so portal works on a 1440p monitor

This commit is contained in:
autumn-the-kitty-cat
2025-11-28 18:07:05 -05:00
parent d55b2ef3d2
commit c76b681700
+6
View File
@@ -78,6 +78,7 @@
} }
monitor = DP-2, 2560x1440@180, 0x0, 1#, bitdepth, 10, cm, hdr monitor = DP-2, 2560x1440@180, 0x0, 1#, bitdepth, 10, cm, hdr
#monitor = DP-2, 1920x1080@180, 0x0, 1#, bitdepth, 10, cm, hdr
monitor = HDMI-A-1, 1920x1080@60, 2560x0, 1 monitor = HDMI-A-1, 1920x1080@60, 2560x0, 1
bind=$mainMod, Q, exec, $terminal bind=$mainMod, Q, exec, $terminal
@@ -131,13 +132,18 @@
bind=$mainMod, mouse_up, workspace, e-1 bind=$mainMod, mouse_up, workspace, e-1
bindm=$mainMod, mouse:272, movewindow bindm=$mainMod, mouse:272, movewindow
bindm=$mainMod, mouse:273, resizewindow bindm=$mainMod, mouse:273, resizewindow
env=XCURSOR_SIZE,24 env=XCURSOR_SIZE,24
env=HYPRCURSOR_SIZE,24 env=HYPRCURSOR_SIZE,24
exec-once=swww-daemon exec-once=swww-daemon
exec=swww img ${config.stylix.image} exec=swww img ${config.stylix.image}
exec-once=waybar exec-once=waybar
exec=pkill waybar; waybar exec=pkill waybar; waybar
windowrulev2=suppressevent maximize, class:.* windowrulev2=suppressevent maximize, class:.*
#windowrulev2 = opacity 0.9, class:(com.mitchellh.ghostty) #windowrulev2 = opacity 0.9, class:(com.mitchellh.ghostty)
layerrule = noanim, selection
''; '';
} }