From 02f687d580f695a1579fb4558ca639465947e9c2 Mon Sep 17 00:00:00 2001 From: ryukamish Date: Fri, 10 Apr 2026 17:42:02 +0530 Subject: chore: fixup --- niri/cfg/autostart.kdl | 13 ++++--------- niri/cfg/input.kdl | 2 +- niri/cfg/keybinds.kdl | 5 +++-- niri/cfg/layout.kdl | 2 +- niri/cfg/misc.kdl | 4 ++-- niri/cfg/window-rules.kdl | 2 +- 6 files changed, 12 insertions(+), 16 deletions(-) diff --git a/niri/cfg/autostart.kdl b/niri/cfg/autostart.kdl index 88032d6..1544ca1 100644 --- a/niri/cfg/autostart.kdl +++ b/niri/cfg/autostart.kdl @@ -1,9 +1,7 @@ -// spawn-at-startup "qs" "-c" "noctalia-shell" "--no-duplicate" -spawn-at-startup "/usr/lib/polkit-kde-authentication-agent-1 &" // Polkit -spawn-at-startup "swayidle" "-w"\ - "timeout" "300" "swaylock -f"\ - "timeout" "600" "niri msg action power-off-monitors"\ - "resume" "niri msg action power-on-monitors"\ +spawn-at-startup "swayidle" "-w" \ + "timeout" "600" "swaylock -f" \ + "timeout" "630" "niri msg action power-off-monitors" \ + "resume" "niri msg action power-on-monitors" \ "before-sleep" "swaylock -f" spawn-at-startup "awww-daemon" @@ -13,6 +11,3 @@ spawn-sh-at-startup "wl-paste --type text --watch cliphist store" spawn-sh-at-startup "wl-paste --type image --watch cliphist store" spawn-sh-at-startup "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" - -// For KDE application compatibility -spawn-at-startup "kded6" diff --git a/niri/cfg/input.kdl b/niri/cfg/input.kdl index f743bfa..a2be1de 100644 --- a/niri/cfg/input.kdl +++ b/niri/cfg/input.kdl @@ -3,7 +3,7 @@ input { keyboard { xkb { layout "us" - options "caps:escape" // swap caps with escape key + // options "caps:escape" // swap caps with escape key } } diff --git a/niri/cfg/keybinds.kdl b/niri/cfg/keybinds.kdl index 361f58f..4811b6f 100644 --- a/niri/cfg/keybinds.kdl +++ b/niri/cfg/keybinds.kdl @@ -2,7 +2,7 @@ binds { Mod+Shift+Slash { show-hotkey-overlay; } Mod+Return hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; } - Mod+E hotkey-overlay-title="File manager: dolphin" { spawn "dolphin"; } + Mod+E hotkey-overlay-title="File manager: nautilus" { spawn "nautilus"; } Mod+B hotkey-overlay-title="Browser: default browser" { spawn "~/.local/bin/browser"; } ALT+Space hotkey-overlay-title="Run an Application: rofi launcher" { spawn-sh "rofi -show drun"; } @@ -12,7 +12,8 @@ binds { Mod+N { spawn-sh "~/.local/bin/nightlight-toggle niri"; } Mod+Period { spawn "rofimoji"; } Mod+V { spawn-sh "cliphist list | rofi -dmenu | cliphist decode | wl-copy"; } - Mod+M { spawn "strawberry"; } + Mod+M { spawn "tauon"; } + Mod+Alt+L { spawn "swaylock- f"; } XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "~/.local/bin/volume-control up"; } XF86AudioLowerVolume allow-when-locked=true { spawn-sh "~/.local/bin/volume-control down"; } diff --git a/niri/cfg/layout.kdl b/niri/cfg/layout.kdl index 1def8da..e755b07 100644 --- a/niri/cfg/layout.kdl +++ b/niri/cfg/layout.kdl @@ -1,5 +1,5 @@ layout { - gaps 2 + gaps 6 center-focused-column "never" preset-column-widths { diff --git a/niri/cfg/misc.kdl b/niri/cfg/misc.kdl index 6fc3d56..e37b588 100644 --- a/niri/cfg/misc.kdl +++ b/niri/cfg/misc.kdl @@ -24,8 +24,8 @@ hotkey-overlay { } cursor { - // xcursor-theme "Banana" - // xcursor-size 34 + xcursor-theme "Bibata-Modern-Classic" + xcursor-size 24 hide-when-typing hide-after-inactive-ms 1000 diff --git a/niri/cfg/window-rules.kdl b/niri/cfg/window-rules.kdl index 8e2c380..1b27d2a 100644 --- a/niri/cfg/window-rules.kdl +++ b/niri/cfg/window-rules.kdl @@ -48,7 +48,7 @@ window-rule { // Rounded cornors for all windows window-rule { - geometry-corner-radius 7 + geometry-corner-radius 0 clip-to-geometry true } -- cgit v1.3