153 lines
5.4 KiB
KDL
153 lines
5.4 KiB
KDL
input {
|
|
keyboard {
|
|
xkb {
|
|
layout "gb"
|
|
model ""
|
|
rules ""
|
|
variant ""
|
|
}
|
|
repeat-delay 600
|
|
repeat-rate 25
|
|
track-layout "global"
|
|
numlock
|
|
}
|
|
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"
|
|
cursor {
|
|
xcursor-theme "Bibata-Modern-Ice"
|
|
xcursor-size 22
|
|
}
|
|
layout {
|
|
border { off; }
|
|
shadow {
|
|
on
|
|
offset x=10 y=10
|
|
softness 25
|
|
spread 5
|
|
draw-behind-window false
|
|
color "#00000060"
|
|
}
|
|
}
|
|
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"; }
|
|
Mod+Z hotkey-overlay-title="Apply NixOS / Home Manager config" { spawn "kitty" "zsh" "-i" "-c" "apply-config"; }
|
|
|
|
Mod+K { show-hotkey-overlay; }
|
|
|
|
Mod+Space { toggle-overview; }
|
|
Mod+Q { close-window; }
|
|
Mod+F { maximize-window-to-edges; }
|
|
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; }
|
|
Mod+Right { focus-column-right; }
|
|
|
|
Mod+X { toggle-window-floating; }
|
|
|
|
Mod+Shift+Up { move-window-to-workspace-up; }
|
|
Mod+Shift+Down { move-window-to-workspace-down; }
|
|
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
|
|
clip-to-geometry true
|
|
}
|
|
window-rule { // Steam windows float (excluding main window)
|
|
match app-id="^steam$"
|
|
exclude title="^Steam$"
|
|
exclude title=r#"^notificationtoasts_\d+_desktop$"#
|
|
default-window-height { proportion 0.5; }
|
|
open-floating true
|
|
}
|
|
window-rule { // Steam notifications are not focused and appear in bottom-right corner
|
|
match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"#
|
|
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
|
|
workspace-switch {
|
|
spring damping-ratio=0.9 stiffness=650 epsilon=0.0001
|
|
}
|
|
window-open {
|
|
duration-ms 100
|
|
curve "ease-out-expo"
|
|
}
|
|
window-close {
|
|
duration-ms 125
|
|
curve "ease-out-quad"
|
|
}
|
|
horizontal-view-movement {
|
|
spring damping-ratio=0.95 stiffness=750 epsilon=0.0001
|
|
}
|
|
window-movement {
|
|
spring damping-ratio=0.9 stiffness=750 epsilon=0.0001
|
|
}
|
|
window-resize {
|
|
spring damping-ratio=0.75 stiffness=700 epsilon=0.0001
|
|
}
|
|
} |