113 lines
2.9 KiB
KDL
113 lines
2.9 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;
|
|
hide-not-bound;
|
|
}
|
|
screenshot-path "~/Pictures/Screenshots/%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+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+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; }
|
|
|
|
XF86WLAN { spawn-sh "rfkill toggle 0 || rfkill toggle 1"; }
|
|
XF86Display { toggle-overview; }
|
|
|
|
Print { screenshot; }
|
|
Shift+Print { screenshot-window; }
|
|
Mod+Print { screenshot-screen; }
|
|
}
|
|
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
|
|
}
|
|
|
|
gestures { hot-corners { off; }; }
|
|
|
|
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.8 stiffness=850 epsilon=0.0001
|
|
}
|
|
}
|