From d29d3ad23761c81b9113835a4d52a5e074055a73 Mon Sep 17 00:00:00 2001 From: ryukamish Date: Tue, 24 Feb 2026 12:28:42 +0530 Subject: feat: small changes for quality of life --- niri/cfg/keybinds.kdl | 12 ++++++++---- niri/cfg/layout.kdl | 4 ++-- niri/cfg/misc.kdl | 4 ++-- niri/cfg/window-rules.kdl | 7 +++++++ 4 files changed, 19 insertions(+), 8 deletions(-) (limited to 'niri') diff --git a/niri/cfg/keybinds.kdl b/niri/cfg/keybinds.kdl index 854056e..112729a 100644 --- a/niri/cfg/keybinds.kdl +++ b/niri/cfg/keybinds.kdl @@ -21,7 +21,7 @@ binds { 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"; } - Super+Alt+L hotkey-overlay-title="Lock the Screen: noctalia lock" { spawn-sh "qs -c noctalia-shell ipc call lockScreen lock"; } + Super+Alt+L hotkey-overlay-title="Lock the Screen: noctalia lock" { spawn-sh "qs -c noctalia-shell ipc call lockScreen lock"; } // "-l 1.0" limits the volume to 100%. XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ -l 1.0"; } @@ -104,11 +104,11 @@ binds { Mod+BracketLeft { consume-or-expel-window-left; } Mod+BracketRight { consume-or-expel-window-right; } - Mod+R { switch-preset-column-width; } + // Mod+R { switch-preset-column-width; } // Cycling through the presets in reverse order is also possible. // Mod+R { switch-preset-column-width-back; } - Mod+Shift+R { switch-preset-window-height; } - Mod+Ctrl+R { reset-window-height; } + // Mod+Shift+R { switch-preset-window-height; } + // Mod+Ctrl+R { reset-window-height; } Mod+F { maximize-column; } Mod+Shift+F { fullscreen-window; } @@ -138,6 +138,10 @@ binds { Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } + Mod+R hotkey-overlay-title="Screen recording: gpu-screen-recorder" { + spawn-sh "qs -c noctalia-shell ipc call plugin:screen-recorder toggle" + } + // The quit action will show a confirmation dialog to avoid accidental exits. Mod+Shift+E { quit; } Ctrl+Alt+Delete { quit; } diff --git a/niri/cfg/layout.kdl b/niri/cfg/layout.kdl index d397e4c..7b434b9 100644 --- a/niri/cfg/layout.kdl +++ b/niri/cfg/layout.kdl @@ -1,5 +1,5 @@ layout { - gaps 5 + gaps 4 center-focused-column "never" preset-column-widths { @@ -9,7 +9,7 @@ layout { } default-column-width { proportion 0.5; } focus-ring { - width 2 + width 4 // active-color "#7fc8ff" // inactive-color "#505050" active-gradient from="#80c8ff" to="#c7ff7f" angle=45 diff --git a/niri/cfg/misc.kdl b/niri/cfg/misc.kdl index 7c60836..b2adeb3 100644 --- a/niri/cfg/misc.kdl +++ b/niri/cfg/misc.kdl @@ -16,8 +16,8 @@ hotkey-overlay { } cursor { - xcursor-theme "Bibata-Modern-Ice" - xcursor-size 24 + xcursor-theme "Banana" + xcursor-size 34 hide-when-typing hide-after-inactive-ms 1000 diff --git a/niri/cfg/window-rules.kdl b/niri/cfg/window-rules.kdl index cd6d060..2da5946 100644 --- a/niri/cfg/window-rules.kdl +++ b/niri/cfg/window-rules.kdl @@ -10,6 +10,13 @@ window-rule { default-column-width { proportion 0.4; } } +window-rule { + match app-id="zen" + match app-id="chromium" + + open-maximized-to-edges true +} + // Rounded cornors for all windows window-rule { geometry-corner-radius 12 -- cgit v1.3