summaryrefslogtreecommitdiff
path: root/niri/.config
diff options
context:
space:
mode:
Diffstat (limited to 'niri/.config')
-rwxr-xr-xniri/.config/niri/config.kdl91
1 files changed, 37 insertions, 54 deletions
diff --git a/niri/.config/niri/config.kdl b/niri/.config/niri/config.kdl
index dd2f7e4..db681f6 100755
--- a/niri/.config/niri/config.kdl
+++ b/niri/.config/niri/config.kdl
@@ -11,7 +11,7 @@ prefer-no-csd
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
input {
- focus-follows-mouse max-scroll-amount="30%"
+// focus-follows-mouse max-scroll-amount="30%"
keyboard {
xkb {
@@ -60,18 +60,18 @@ layout {
border {
off
- width 0.5
- active-color "#ffc87f"
- inactive-color "#505050"
- urgent-color "#9b0000"
+ //width 0.5
+ //active-color "#ffc87f"
+ //inactive-color "#505050"
+ //urgent-color "#9b0000"
}
shadow {
- off
- softness 30
- spread 5
- offset x=0 y=5
- color "#0007"
+ off
+ //softness 30
+ //spread 5
+ //offset x=0 y=5
+ //color "#0007"
}
}
animations {
@@ -85,14 +85,14 @@ animations {
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-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
}
@@ -109,7 +109,7 @@ window-rule {
xray false
}
}
-
+// Helium PiP fix
window-rule {
match app-id=r#"helium$"# title="^Picture-in-Picture$"
open-floating true
@@ -119,9 +119,9 @@ window-rule {
off
}
}
+// Steam notifs fix
window-rule {
match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"#
-
open-floating true
open-focused false
default-floating-position x=16 y=16 relative-to="bottom-right"
@@ -136,35 +136,23 @@ cursor {
xcursor-size 19
}
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 "#00000000"
-
- // Customize or disable workspace drop shadows in the overview
+ zoom 0.5
workspace-shadow {
- // To turn off shadows:
- // off
-
- on
- softness 15
- spread 3
- offset x=0 y=6
- color "#00000080"
+
+ off
+ //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
- // Fixes the rough/jagged pixels on the curved edges
background-effect {
xray false
}
- // Fixes the disconnected blocky background artifact
shadow {
off
}
@@ -204,12 +192,11 @@ binds {
// Window Management & Views
Mod+Tab repeat=false { toggle-overview; }
Mod+Grave repeat=false { toggle-overview; }
- Mod+Z repeat=false { toggle-overview; }
Mod+W repeat=false { close-window; }
Mod+F { maximize-column; }
Mod+Shift+F { fullscreen-window; }
- Mod+M { maximize-window-to-edges; }
- Mod+Ctrl+F { expand-column-to-available-width; }
+ Mod+Ctrl+F { maximize-window-to-edges; }
+ //Mod+Ctrl+F { expand-column-to-available-width; }
Mod+Ctrl+C { center-visible-columns; }
Mod+Shift+V { toggle-window-floating; }
Mod+Q { toggle-column-tabbed-display; }
@@ -259,14 +246,14 @@ binds {
Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
// Workspace Navigation
- Mod+Page_Down { focus-workspace-down; }
- Mod+Page_Up { focus-workspace-up; }
- Mod+U { focus-workspace-down; }
- Mod+I { focus-workspace-up; }
- Mod+Ctrl+Page_Down { move-column-to-workspace-down; }
- Mod+Ctrl+Page_Up { move-column-to-workspace-up; }
- Mod+Ctrl+U { move-column-to-workspace-down; }
- Mod+Ctrl+I { move-column-to-workspace-up; }
+ //Mod+Page_Down { focus-workspace-down; }
+ //Mod+Page_Up { focus-workspace-up; }
+ //Mod+U { focus-workspace-down; }
+ //Mod+I { focus-workspace-up; }
+ //Mod+Ctrl+Page_Down { move-column-to-workspace-down; }
+ //Mod+Ctrl+Page_Up { move-column-to-workspace-up; }
+ //Mod+Ctrl+U { move-column-to-workspace-down; }
+ //Mod+Ctrl+I { move-column-to-workspace-up; }
Mod+Shift+Page_Down { move-workspace-down; }
Mod+Shift+Page_Up { move-workspace-up; }
@@ -311,10 +298,6 @@ binds {
Mod+Shift+Equal { set-window-height "+10%"; }
// Mouse Wheel Bindings
- //Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
- //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+WheelScrollUp { focus-column-left; }
Mod+WheelScrollDown { focus-column-right; }
// Screenshots