nirish

config files for niri window manager
Log | Files | Refs | README | LICENSE

commit 0085f9ba74bcefa2516c0de4463ab214557c46d7
parent 6e7314a5ad1e08cc1571bf8e63728f10e63f6850
Author: ryukamish <[email protected]>
Date:   Tue,  3 Mar 2026 18:01:00 +0530

some fixes here and there

Diffstat:
Mniri/cfg/autostart.kdl | 4++++
Mniri/cfg/keybinds.kdl | 5+++--
Mniri/cfg/window-rules.kdl | 7++++---
3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/niri/cfg/autostart.kdl b/niri/cfg/autostart.kdl @@ -1,2 +1,6 @@ spawn-at-startup "qs" "-c" "noctalia-shell" "--no-duplicate" spawn-sh-at-startup "/usr/lib/polkit-kde-authentication-agent-1 &" // Polkit +spawn-at-startup "swayidle" "-w" \ + "timeout" "300" "'qs' '-c' 'noctalia-shell' 'ipc' 'call' 'lockScreen' 'lock'" \ + "timeout" "305" "'niri' 'msg' 'action' 'power-off-monitors'" \ + "before-sleep" "'qs' '-c' 'noctalia-shell' 'ipc' 'call' 'lockScreen' 'lock'" diff --git a/niri/cfg/keybinds.kdl b/niri/cfg/keybinds.kdl @@ -4,7 +4,8 @@ binds { Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; } // ALT+Space hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } Mod+E hotkey-overlay-title="File manager: nautilus" { spawn "nautilus"; } - Mod+B hotkey-overlay-title="Browser: zen browser" { spawn "zen-browser"; } + Mod+B hotkey-overlay-title="Browser: brave" { spawn "brave"; } + Mod+Shift+B hotkey-overlay-title="Browser: brave ( private )" { spawn "brave" "--incognito"; } // ----------- DMS shell keybinds ------------ // ALT+Space hotkey-overlay-title="Run an Application: DMS launcher" { spawn-sh "dms ipc call launcher toggle"; } @@ -17,7 +18,7 @@ binds { // ----------- Noctalia shell keybinds ------------ ALT+Space hotkey-overlay-title="Run an Application: noctalia launcher" { spawn-sh "qs -c noctalia-shell ipc call launcher toggle"; } // Require `cliphist` package - Mod+Alt+V hotkey-overlay-title="Clipboard: noctalia clipboard" { spawn-sh "qs -c noctalia-shell ipc call launcher clipboard"; } + Mod+V hotkey-overlay-title="Clipboard: noctalia clipboard" { spawn-sh "qs -c noctalia-shell ipc call launcher clipboard"; } Mod+P hotkey-overlay-title="Session manager: noctalia session" { spawn-sh "qs -c noctalia-shell ipc call sessionMenu toggle"; } Mod+Period hotkey-overlay-title="Session manager: noctalia session" { spawn-sh "qs -c noctalia-shell ipc call launcher emoji"; } Mod+W hotkey-overlay-title="Wallpaper Selector: noctalia wallpaper" { spawn-sh "qs -c noctalia-shell ipc call wallpaper toggle"; } diff --git a/niri/cfg/window-rules.kdl b/niri/cfg/window-rules.kdl @@ -14,20 +14,21 @@ window-rule { match app-id="zen" match app-id="chromium" match app-id="google-chrome" + match app-id="brave-browser" - - open-maximized-to-edges true + open-maximized true } window-rule { match app-id="TUI.float" + match app-id=r#"zen"# title="Raindrop" open-floating true } // Rounded cornors for all windows window-rule { - geometry-corner-radius 12 +// geometry-corner-radius 12 clip-to-geometry true }