Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions Dotfiles/Niri/niri-config.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@ input {

// Desktop screen config
output "DP-1" {
mode "1920x1080@165"
mode "1920x1080@164.834"
position x=1920 y=0
}

output "HDMI-A-1" {
mode "1920x1080@165"
mode "1920x1080@164.834"
position x=0 y=0
}

output "DP-2" {
mode "1920x1080@165"
mode "1920x1080@164.955"
position x=3840 y=0
transform "90"
}

// Laptop screen config
// output "eDP-1" {
// mode "2560x1600@165"
// mode "2560x1600@165.002"
// }

// Windows layout config
Expand Down Expand Up @@ -76,6 +76,22 @@ prefer-no-csd
// Path for screenshots
screenshot-path "~/Downloads/Screenshot_%Y-%m-%d_%H-%M-%S.png"

// Open Terminal, Firefox and Thunderbird maximized
window-rule {
match app-id="xfce4-terminal$"
open-maximized true
}

window-rule {
match app-id="firefox$"
open-maximized true
}

window-rule {
match app-id=r#"(org.mozilla.Thunderbird)"#
open-maximized true
}

// Open the Firefox picture-in-picture player as floating by default
window-rule {
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
Expand Down