summaryrefslogtreecommitdiff
path: root/niri
diff options
context:
space:
mode:
Diffstat (limited to 'niri')
-rwxr-xr-xniri/.config/niri/config.kdl86
-rw-r--r--niri/.config/niri/noctalia.kdl16
2 files changed, 78 insertions, 24 deletions
diff --git a/niri/.config/niri/config.kdl b/niri/.config/niri/config.kdl
index e8809c0..20b7393 100755
--- a/niri/.config/niri/config.kdl
+++ b/niri/.config/niri/config.kdl
@@ -1,7 +1,6 @@
spawn-at-startup "xwayland-satellite"
spawn-at-startup "noctalia"
-spawn-at-startup "steam" "--minimized"
-spawn-at-startup "Telegram" "-autostart"
+spawn-at-startup "telegram-desktop" "-autostart"
spawn-at-startup "vesktop" "--start-minimized"
spawn-at-startup "keepassxc" "--minimized"
spawn-at-startup "waybar"
@@ -53,28 +52,53 @@ layout {
default-column-width { proportion 0.5; }
focus-ring {
- width 0.5
+ width 1
active-color "#7fc8ff"
inactive-color "#505050"
}
border {
- // off
- width 0.5
+ off
+ width 4
active-color "#ffc87f"
inactive-color "#505050"
urgent-color "#9b0000"
}
shadow {
- off
softness 30
spread 5
offset x=0 y=5
color "#0007"
}
}
-
+animations {
+ workspace-switch {
+ duration-ms 275
+ curve "ease-out-cubic"
+ }
+ horizontal-view-movement {
+ spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
+ }
+ window-movement {
+ spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
+ }
+ window-open {
+ duration-ms 150
+ curve "ease-out-expo"
+ }
+ window-close {
+ duration-ms 150
+ curve "ease-out-quad"
+ }
+ window-resize {
+ spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
+ }
+ overview-open-close {
+ duration-ms 150
+ curve "ease-out-quad"
+ }
+}
window-rule {
match app-id=r#"^org\.wezfurlong\.wezterm$"#
default-column-width {}
@@ -91,15 +115,48 @@ window-rule {
open-focused false
default-floating-position x=16 y=16 relative-to="bottom-right"
}
+gestures {
+ hot-corners {
+ off
+ }
+}
+overview {
+ // Zoom factor for workspaces in overview mode (default is usually ~0.25–0.5)
+ // Lower values (e.g., 0.2) make workspaces smaller; higher values (e.g., 0.6) make them larger.
+ zoom 0.4
+
+ // Background color behind the workspaces in overview
+ backdrop-color "#1e1e2e"
+
+ // Customize or disable workspace drop shadows in the overview
+ workspace-shadow {
+ // To turn off shadows:
+ // off
+
+ on
+ softness 15
+ spread 3
+ offset x=0 y=6
+ color "#00000080"
+ }
+}
+// Place Noctalia's main wallpaper onto Niri's backdrop layer
+layer-rule {
+ match namespace="^noctalia-backdrop"
+ place-within-backdrop true
+}
+
+// Allow the stationary backdrop wallpaper to be visible through your layout
+
binds {
// Noctalia & Application Launchers
Mod+Shift+T { spawn "Telegram"; }
Mod+Shift+B { spawn "helium"; }
- Mod+D hotkey-overlay-title="App Launcher" { spawn "noctalia" "msg" "panel-toggle" "launcher"; }
+ Mod+T hotkey-overlay-title="App Launcher" { spawn "noctalia" "msg" "panel-toggle" "launcher"; }
Ctrl+Mod+V hotkey-overlay-title="Clipboard History" { spawn "noctalia" "msg" "panel-toggle" "clipboard"; }
Mod+Alt+F hotkey-overlay-title="File Manager" { spawn "nautilus"; }
- Mod+S hotkey-overlay-title="Terminal" { spawn "ghostty"; }
-// Mod+D hotkey-overlay-title="Application Menu" { spawn "fuzzel"; }
+ Mod+Return hotkey-overlay-title="Terminal" { spawn "ghostty"; }
+ Mod+D hotkey-overlay-title="Application Menu" { spawn "fuzzel"; }
Super+Alt+L hotkey-overlay-title="Lock Screen" { spawn "swaylock"; }
// Audio & Media Controls
@@ -232,8 +289,8 @@ binds {
//Mod+WHEELsCRollUp cooldown-ms=150 { focus-workspace-up; }
//Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
//Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
- Mod+WheelScrollDown { focus-column-right; }
- Mod+WheelScrollUp { focus-column-left; }
+ Mod+WheelScrollUp { focus-column-right; }
+ Mod+WheelScrollDown { focus-column-left; }
// Screenshots
Print { screenshot; }
Ctrl+Print { screenshot-screen; }
@@ -245,8 +302,5 @@ binds {
// Ctrl+Alt+Delete { quit; }
// Mod+Shift+P { power-off-monitors; }
}
-cursor {
- xcursor-theme "Bibata-Modern-Ice"
- xcursor-size 20
-}
+
include "./noctalia.kdl"
diff --git a/niri/.config/niri/noctalia.kdl b/niri/.config/niri/noctalia.kdl
index 2f6f58b..110bdab 100644
--- a/niri/.config/niri/noctalia.kdl
+++ b/niri/.config/niri/noctalia.kdl
@@ -1,14 +1,14 @@
layout {
focus-ring {
- active-color "#c9beff"
- inactive-color "#141318"
+ active-color "#e6c34f"
+ inactive-color "#16130c"
urgent-color "#ffb4ab"
}
border {
- active-color "#c9beff"
- inactive-color "#141318"
+ active-color "#e6c34f"
+ inactive-color "#16130c"
urgent-color "#ffb4ab"
}
@@ -17,19 +17,19 @@ layout {
}
tab-indicator {
- active-color "#c9beff"
- inactive-color "#26126d"
+ active-color "#e6c34f"
+ inactive-color "#ac8e1b"
urgent-color "#ffb4ab"
}
insert-hint {
- color "#c9beff80"
+ color "#e6c34f80"
}
}
recent-windows {
highlight {
- active-color "#c9beff"
+ active-color "#e6c34f"
urgent-color "#ffb4ab"
}
}