summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-03-03 18:01:00 +0530
committerryukamish <[email protected]>2026-03-03 18:01:00 +0530
commit0085f9ba74bcefa2516c0de4463ab214557c46d7 (patch)
treecf462e6cdf1278e8cb9ea76b22f5f5cb4059823b
parent6e7314a5ad1e08cc1571bf8e63728f10e63f6850 (diff)
some fixes here and there
-rw-r--r--niri/cfg/autostart.kdl4
-rw-r--r--niri/cfg/keybinds.kdl5
-rw-r--r--niri/cfg/window-rules.kdl7
3 files changed, 11 insertions, 5 deletions
diff --git a/niri/cfg/autostart.kdl b/niri/cfg/autostart.kdl
index cbf795b..3554731 100644
--- 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
index 280057f..695dc98 100644
--- 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
index f218a33..bff3ba4 100644
--- 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
}