niri stuff

This commit is contained in:
2025-05-27 16:11:36 +02:00
parent 57198f0f77
commit 87b77cd412

View File

@ -33,7 +33,7 @@ clipboard {
disable-primary // disable middle-click paste disable-primary // disable middle-click paste
} }
// https://gdthub.com/YaLTeR/niri/wiki/Configuration:-Outputs // https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
// `niri msg outputs` // `niri msg outputs`
output "Microstep MSI MAG342CQR DB6H262101804" { output "Microstep MSI MAG342CQR DB6H262101804" {
mode "3440x1440@144.000" mode "3440x1440@144.000"
@ -88,6 +88,10 @@ layout {
off off
} }
shadow {
on
}
// You can also add a border. It's similar to the focus ring, but always visible. // You can also add a border. It's similar to the focus ring, but always visible.
border { border {
// The settings are the same as for the focus ring. // The settings are the same as for the focus ring.
@ -279,6 +283,12 @@ window-rule {
//max-width 400 //max-width 400
} }
window-rule {
match app-id="com.nextcloud.desktopclient.nextcloud"
open-floating true
default-floating-position x=5 y=10 relative-to="bottom-left"
}
binds { binds {
// Keys consist of modifiers separated by + signs, followed by an XKB key name // Keys consist of modifiers separated by + signs, followed by an XKB key name
// in the end. To find an XKB name for a particular key, you may use a program // in the end. To find an XKB name for a particular key, you may use a program
@ -356,14 +366,6 @@ binds {
Mod+Shift+Ctrl+K { move-column-to-monitor-up; } Mod+Shift+Ctrl+K { move-column-to-monitor-up; }
Mod+Shift+Ctrl+L { move-column-to-monitor-right; } Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
// Alternatively, there are commands to move just a single window:
// Mod+Shift+Ctrl+Left { move-window-to-monitor-left; }
// ...
// And you can also move a whole workspace to another monitor:
// Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; }
// ...
Mod+Page_Down { focus-workspace-down; } Mod+Page_Down { focus-workspace-down; }
Mod+Page_Up { focus-workspace-up; } Mod+Page_Up { focus-workspace-up; }
Mod+U { focus-workspace-down; } Mod+U { focus-workspace-down; }
@ -373,15 +375,13 @@ binds {
Mod+Ctrl+U { move-column-to-workspace-down; } Mod+Ctrl+U { move-column-to-workspace-down; }
Mod+Ctrl+I { move-column-to-workspace-up; } Mod+Ctrl+I { move-column-to-workspace-up; }
// Alternatively, there are commands to move just a single window:
// Mod+Ctrl+Page_Down { move-window-to-workspace-down; }
// ...
Mod+Shift+Page_Down { move-workspace-down; } Mod+Shift+Page_Down { move-workspace-down; }
Mod+Shift+Page_Up { move-workspace-up; } Mod+Shift+Page_Up { move-workspace-up; }
Mod+Shift+U { move-workspace-down; } Mod+Shift+U { move-workspace-down; }
Mod+Shift+I { move-workspace-up; } Mod+Shift+I { move-workspace-up; }
Mod+Backspace { toggle-overview; }
// You can bind mouse wheel scroll ticks using the following syntax. // You can bind mouse wheel scroll ticks using the following syntax.
// These binds will change direction based on the natural-scroll setting. // These binds will change direction based on the natural-scroll setting.
// //
@ -449,6 +449,7 @@ binds {
Mod+Comma { consume-window-into-column; } Mod+Comma { consume-window-into-column; }
Mod+Period { expel-window-from-column; } Mod+Period { expel-window-from-column; }
Mod+W { toggle-column-tabbed-display; }
// There are also commands that consume or expel a single window to the side. // There are also commands that consume or expel a single window to the side.
// Mod+BracketLeft { consume-or-expel-window-left; } // Mod+BracketLeft { consume-or-expel-window-left; }