// Minimal niri profile for the laptop. // niri arranges windows in scrollable columns, which keeps small laptop screens usable. input { keyboard { xkb { layout "us" variant "intl" } } touchpad { tap natural-scroll } } layout { gaps 12 center-focused-column "on-overflow" preset-column-widths { proportion 0.33333 proportion 0.5 proportion 0.66667 } default-column-width { proportion 0.5; } focus-ring { width 4 active-color "#54d6ff" inactive-color "#505050" } } spawn-at-startup "waybar" prefer-no-csd screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" binds { Mod+Shift+Slash { show-hotkey-overlay; } Mod+Return hotkey-overlay-title="Open a Terminal" { spawn "foot"; } Mod+D hotkey-overlay-title="Run an Application" { spawn "rofi" "-show" "drun"; } Mod+B hotkey-overlay-title="Open Browser" { spawn "firefox"; } Mod+Q repeat=false { close-window; } Mod+O repeat=false { toggle-overview; } Mod+H { focus-column-left; } Mod+J { focus-window-down; } Mod+K { focus-window-up; } Mod+L { focus-column-right; } Mod+Ctrl+H { move-column-left; } Mod+Ctrl+J { move-window-down; } Mod+Ctrl+K { move-window-up; } Mod+Ctrl+L { move-column-right; } Mod+U { focus-workspace-down; } Mod+I { focus-workspace-up; } Mod+Ctrl+U { move-column-to-workspace-down; } Mod+Ctrl+I { move-column-to-workspace-up; } Mod+1 { focus-workspace 1; } Mod+2 { focus-workspace 2; } Mod+3 { focus-workspace 3; } Mod+4 { focus-workspace 4; } Mod+5 { focus-workspace 5; } Mod+Ctrl+1 { move-column-to-workspace 1; } Mod+Ctrl+2 { move-column-to-workspace 2; } Mod+Ctrl+3 { move-column-to-workspace 3; } Mod+Ctrl+4 { move-column-to-workspace 4; } Mod+Ctrl+5 { move-column-to-workspace 5; } Mod+R { switch-preset-column-width; } Mod+F { maximize-column; } Mod+Shift+F { fullscreen-window; } Mod+V { toggle-window-floating; } Mod+Minus { set-column-width "-10%"; } Mod+Equal { set-column-width "+10%"; } Print { screenshot; } Mod+Shift+E { quit; } }