diff --git a/homeModules/niri/config.kdl b/homeModules/niri/config.kdl index 2fbcf500..03676eaf 100644 --- a/homeModules/niri/config.kdl +++ b/homeModules/niri/config.kdl @@ -44,19 +44,23 @@ layout { background-color "transparent" center-focused-column "never" - // You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between. preset-column-widths { proportion 0.33333 proportion 0.5 proportion 0.66667 + proportion 0.75 + proportion 1.0 } - // preset-window-heights { } - default-column-width { proportion 0.5; } - // If you leave the brackets empty, the windows themselves will decide their initial width. - // default-column-width {} + preset-window-heights { + proportion 0.33333 + proportion 0.5 + proportion 0.75 + proportion 1.0 + } + default-column-width { proportion 0.75; } focus-ring { - width 2 + width 4 active-color "#a6e3a1" inactive-color "#6c7086" } @@ -72,7 +76,6 @@ layout { } prefer-no-csd -spawn-at-startup "dms" "run" environment { XDG_CURRENT_DESKTOP "niri" @@ -81,8 +84,11 @@ environment { QT_QPA_PLATFORMTHEME "gtk3" QT_QPA_PLATFORMTHEME_QT6 "gtk3" GDK_BACKEND "wayland,x11,*" + WAYLAND_DISPLAY "wayland-1" } +spawn-at-startup "systemctl restart --user 'xdg-desktop-portal*'" + hotkey-overlay { } @@ -136,12 +142,12 @@ binds { Mod+L { focus-column-right; } Mod+Shift+Left { move-column-left; } - Mod+Shift+Down { move-window-down; } - Mod+Shift+Up { move-window-up; } + Mod+Shift+Down { move-window-down-or-to-workspace-down; } + Mod+Shift+Up { move-window-up-or-to-workspace-up; } Mod+Shift+Right { move-column-right; } Mod+Shift+H { move-column-left; } - Mod+Shift+J { move-window-down; } - Mod+Shift+K { move-window-up; } + Mod+Shift+J { move-window-down-or-to-workspace-down; } + Mod+Shift+K { move-window-up-or-to-workspace-up; } Mod+Shift+L { move-column-right; } Mod+Home { focus-column-first; } @@ -223,13 +229,19 @@ binds { Print { screenshot; } Shift+F3 { screenshot-screen; } - Shift+F4 { screenshot-window; } + Shift+F4 { screenshot; } Mod+Shift+E { quit; } Ctrl+Alt+L { spawn "loginctl" "lock-session"; } } +gestures { + hot-corners { + off + } +} + // DMS Integration layer-rule { match namespace="^quickshell$"