improve gitignore, make niri shared config more modular

This commit is contained in:
greyweather committed 2026-09-17 03:11:53 +01:00
1 parent 882372c082
commit 66fe4cf9cf
12 files changed
+233 -86

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
binds {
Mod+Slash { spawn "niri-scratch-workspace-toggle"; }
Mod+Shift+Slash { move-window-to-workspace "x" focus=false; }
}
workspace "x" {
hidden true
layout {
focus-ring {
width 3
active-color "#a33d3d"
}
}
}
spawn-at-startup "niri-listen-for-scratch-workspace-change"
spawn-at-startup "niri-clear-state"
+34
View File
@@ -0,0 +1,34 @@
binds {
Mod+D hotkey-overlay-title="Application launcher" { spawn "noctalia" "msg" "panel-toggle" "launcher"; }
Mod+C hotkey-overlay-title="Open calculator" { spawn "noctalia" "msg" "panel-toggle" "yuuto/calculator:panel"; }
Mod+L hotkey-overlay-title="Lock session" { spawn "noctalia" "msg" "session" "lock"; }
Mod+Shift+D hotkey-overlay-title="Edit desktop widgets" { spawn "noctalia" "msg" "desktop-widgets-edit"; }
Mod+Shift+B hotkey-overlay-title="Open bar settings" { spawn "noctalia" "msg" "settings-open" "bar"; }
Mod+Shift+S hotkey-overlay-title="Open settings" { spawn "noctalia" "msg" "settings-open"; }
Mod+Period hotkey-overlay-title="Open control center" { spawn "noctalia" "msg" "panel-toggle" "control-center"; }
Mod+Shift+P hotkey-overlay-title="Open power menu" { spawn "noctalia" "msg" "panel-toggle" "session"; }
Mod+V hotkey-overlay-title="Show clipboard helper" { spawn "noctalia" "msg" "panel-toggle" "clipboard"; }
Mod+P hotkey-overlay-title="Show power info" { spawn "noctalia" "msg" "panel-toggle" "control-center" "power"; }
Mod+W hotkey-overlay-title="Show wallpaper panel" { spawn "noctalia" "msg" "panel-toggle" "wallpaper"; }
Mod+Shift+W { spawn "noctalia" "msg" "panel-toggle" "noctalia/wallhaven:browser"; }
Ctrl+Shift+Escape { spawn "noctalia" "msg" "panel-toggle" "control-center" "system"; }
Mod+R hotkey-overlay-title="Open Remmina panel" { spawn "noctalia" "msg" "panel-toggle" "rylos/remmina:connections"; }
XF86AudioLowerVolume { spawn "noctalia" "msg" "volume-down" "5"; }
XF86AudioRaiseVolume { spawn "noctalia" "msg" "volume-up" "5"; }
XF86AudioMute { spawn "noctalia" "msg" "volume-mute"; }
XF86AudioMicMute { spawn "noctalia" "msg" "mic-mute"; }
XF86MonBrightnessDown { spawn "noctalia" "msg" "brightness-down" "5"; }
XF86MonBrightnessUp { spawn "noctalia" "msg" "brightness-up" "5"; }
XF86NotificationCenter { spawn "noctalia" "msg" "panel-toggle" "control-center" "notifications"; }
Pause { spawn "noctalia" "msg" "media" "toggle"; }
}
spawn-at-startup "noctalia"
layer-rule {
match namespace="^noctalia-backdrop"
place-within-backdrop true
}
@@ -14,8 +14,11 @@ input {
focus-follows-mouse max-scroll-amount="0%"
}
prefer-no-csd
hotkey-overlay { skip-at-startup; }
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
hotkey-overlay {
skip-at-startup;
hide-not-bound;
}
screenshot-path "~/Pictures/Screenshots/%Y-%m-%d_%H-%M-%S.png"
cursor {
xcursor-theme "Bibata-Modern-Ice"
xcursor-size 22
@@ -32,8 +35,6 @@ layout {
}
}
binds {
Mod+D hotkey-overlay-title="Application launcher" { spawn "noctalia" "msg" "panel-toggle" "launcher"; }
Mod+C hotkey-overlay-title="Open calculator" { spawn "noctalia" "msg" "panel-toggle" "yuuto/calculator:panel"; }
Mod+Return hotkey-overlay-title="Open terminal (Kitty)" { spawn "kitty"; }
Mod+O hotkey-overlay-title="Open Obsidian" { spawn "obsidian"; }
Mod+G hotkey-overlay-title="Open GitHub Desktop" { spawn "github-desktop"; }
@@ -47,19 +48,6 @@ binds {
Mod+Shift+F { fullscreen-window; }
Mod+Shift+E { quit; }
Mod+L hotkey-overlay-title="Lock session" { spawn "noctalia" "msg" "session" "lock"; }
Mod+Shift+D hotkey-overlay-title="Edit desktop widgets" { spawn "noctalia" "msg" "desktop-widgets-edit"; }
Mod+Shift+B hotkey-overlay-title="Open bar settings" { spawn "noctalia" "msg" "settings-open" "bar"; }
Mod+Shift+S hotkey-overlay-title="Open settings" { spawn "noctalia" "msg" "settings-open"; }
Mod+Period hotkey-overlay-title="Open control center" { spawn "noctalia" "msg" "panel-toggle" "control-center"; }
Mod+Shift+P hotkey-overlay-title="Open power menu" { spawn "noctalia" "msg" "panel-toggle" "session"; }
Mod+V hotkey-overlay-title="Show clipboard helper" { spawn "noctalia" "msg" "panel-toggle" "clipboard"; }
Mod+P hotkey-overlay-title="Show power info" { spawn "noctalia" "msg" "panel-toggle" "control-center" "power"; }
Mod+W hotkey-overlay-title="Show wallpaper panel" { spawn "noctalia" "msg" "panel-toggle" "wallpaper"; }
Mod+Shift+W { spawn "noctalia" "msg" "panel-toggle" "noctalia/wallhaven:browser"; }
Ctrl+Shift+Escape { spawn "noctalia" "msg" "panel-toggle" "control-center" "system"; }
Mod+R hotkey-overlay-title="Open Remmina panel" { spawn "noctalia" "msg" "panel-toggle" "rylos/remmina:connections"; }
Mod+Up { focus-workspace-up; }
Mod+Down { focus-workspace-down; }
Mod+Left { focus-column-left; }
@@ -72,33 +60,12 @@ binds {
Mod+Shift+Left { move-column-left; }
Mod+Shift+Right { move-column-right; }
XF86AudioLowerVolume { spawn "noctalia" "msg" "volume-down" "5"; }
XF86AudioRaiseVolume { spawn "noctalia" "msg" "volume-up" "5"; }
XF86AudioMute { spawn "noctalia" "msg" "volume-mute"; }
XF86AudioMicMute { spawn "noctalia" "msg" "mic-mute"; }
XF86MonBrightnessDown { spawn "noctalia" "msg" "brightness-down" "5"; }
XF86MonBrightnessUp { spawn "noctalia" "msg" "brightness-up" "5"; }
XF86WLAN { spawn-sh "rfkill toggle 0 || rfkill toggle 1"; }
XF86NotificationCenter { spawn "noctalia" "msg" "panel-toggle" "control-center" "notifications"; }
XF86Display { toggle-overview; }
Print { screenshot; }
Shift+Print { screenshot-window; }
Mod+Print { screenshot-screen; }
Mod+Slash { spawn "niri-scratch-workspace-toggle"; }
Mod+Shift+Slash { move-window-to-workspace "x" focus=false; }
Pause { spawn "noctalia" "msg" "media" "toggle"; }
}
workspace "x" {
hidden true
layout {
focus-ring {
width 3
active-color "#a33d3d"
}
}
}
window-rule {
draw-border-with-background false
@@ -116,17 +83,9 @@ window-rule { // Steam notifications are not focused and appear in bottom-right
default-floating-position x=10 y=10 relative-to="bottom-right"
open-focused false
}
spawn-at-startup "noctalia"
spawn-at-startup "niri-listen-for-scratch-workspace-change"
spawn-at-startup "niri-clear-state"
gestures { hot-corners { off; }; }
layer-rule {
match namespace="^noctalia-backdrop"
place-within-backdrop true
}
animations {
on
slowdown 1
@@ -148,6 +107,6 @@ animations {
spring damping-ratio=0.9 stiffness=750 epsilon=0.0001
}
window-resize {
spring damping-ratio=0.75 stiffness=700 epsilon=0.0001
spring damping-ratio=0.8 stiffness=850 epsilon=0.0001
}
}
}