VRR for crow LG monitor

This commit is contained in:
KnightArtorias 2026-01-03 16:41:25 +00:00
parent 95a0e7beef
commit 96a4445bb2

View file

@ -40,8 +40,9 @@ output "HDMI-A-1" {
} }
output "DP-2" { output "DP-2" {
mode "2560x1440@143.00" mode "2560x1440@144.00"
position x=1920 y=0 position x=1920 y=0
variable-refresh-rate
} }
output "DP-1" { output "DP-1" {
@ -91,14 +92,13 @@ screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
// Find more information on the wiki: // Find more information on the wiki:
// https://yalter.github.io/niri/Configuration:-Window-Rules // https://yalter.github.io/niri/Configuration:-Window-Rules
// Open the librewolf picture-in-picture player as floating by default. // Open the brave picture-in-picture player as floating by default.
window-rule { window-rule {
match app-id=r#"librewolf$"# title="^Picture-in-Picture$" match app-id=r#"^brave-browser$"# title="^Picture-in-Picture$"
open-floating true open-floating true
} }
// Example: block out two password managers from screen capture. // Example: block out two password managers from screen capture.
// (This example rule is commented out with a "/-" in front.)
window-rule { window-rule {
match app-id=r#"^org\.keepassxc\.KeePassXC$"# match app-id=r#"^org\.keepassxc\.KeePassXC$"#
match app-id=r#"^org\.gnome\.World\.Secrets$"# match app-id=r#"^org\.gnome\.World\.Secrets$"#
@ -107,7 +107,6 @@ window-rule {
} }
// Example: enable rounded corners for all windows. // Example: enable rounded corners for all windows.
// (This example rule is commented out with a "/-" in front.)
window-rule { window-rule {
geometry-corner-radius 12 geometry-corner-radius 12
clip-to-geometry true clip-to-geometry true
@ -115,17 +114,17 @@ window-rule {
// Open these apps fullscreen // Open these apps fullscreen
window-rule { window-rule {
match app-id="brave-brower" match app-id="^brave-brower$"
open-fullscreen true open-fullscreen true
} }
window-rule { window-rule {
match app-id="vesktop" match app-id="^vesktop$"
open-fullscreen true open-fullscreen true
} }
window-rule { window-rule {
match app-id="steam" match app-id="^steam$"
open-fullscreen true open-fullscreen true
} }