207 lines
3.7 KiB
Plaintext
207 lines
3.7 KiB
Plaintext
// edited. thx to fizzyizzy05.
|
|
input {
|
|
keyboard {
|
|
xkb {
|
|
layout "us"
|
|
}
|
|
numlock
|
|
}
|
|
|
|
touchpad {
|
|
// off
|
|
tap
|
|
// dwt
|
|
// dwtp
|
|
// drag false
|
|
// drag-lock
|
|
natural-scroll
|
|
// accel-speed 0.2
|
|
// accel-profile "flat"
|
|
// scroll-method "two-finger"
|
|
// disabled-on-external-mouse
|
|
click-method "clickfinger"
|
|
}
|
|
|
|
mouse {
|
|
// off
|
|
// natural-scroll
|
|
accel-speed -0.2
|
|
accel-profile "flat"
|
|
// scroll-method "no-scroll"
|
|
}
|
|
|
|
trackpoint {
|
|
// off
|
|
// natural-scroll
|
|
// accel-speed 0.2
|
|
// accel-profile "flat"
|
|
// scroll-method "on-button-down"
|
|
// scroll-button 273
|
|
// middle-emulation
|
|
}
|
|
|
|
warp-mouse-to-focus
|
|
// also needs ignore in `/etc/systemd/logind.conf`.
|
|
disable-power-key-handling
|
|
focus-follows-mouse max-scroll-amount="0%"
|
|
}
|
|
|
|
output "eDP-1" {
|
|
scale 1.25
|
|
}
|
|
|
|
output "HDMI-A-1" {
|
|
mode "1920x1080@180.000"
|
|
//position x=1920 y=0
|
|
focus-at-startup
|
|
}
|
|
|
|
layout {
|
|
gaps 6
|
|
|
|
center-focused-column "never"
|
|
|
|
preset-column-widths {
|
|
proportion 0.33333
|
|
proportion 0.5
|
|
proportion 0.66667
|
|
|
|
// Fixed sets the width in logical pixels exactly.
|
|
// fixed 1920
|
|
}
|
|
|
|
// preset-window-heights { }
|
|
|
|
default-column-width { proportion 0.5; }
|
|
|
|
focus-ring {
|
|
off
|
|
}
|
|
|
|
border {
|
|
width 1
|
|
active-color "#56949fff"
|
|
inactive-color "#403d52ff"
|
|
|
|
urgent-color "#eb6f92ff"
|
|
|
|
// active-gradient from="#ffbb66" to="#ffc880" angle=45 relative-to="workspace-view"
|
|
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
|
|
}
|
|
|
|
shadow {
|
|
on
|
|
|
|
// draw-behind-window true
|
|
|
|
// Softness controls the shadow blur radius.
|
|
softness 15
|
|
|
|
// Spread expands the shadow.
|
|
spread 2
|
|
|
|
// Offset moves the shadow relative to the window.
|
|
offset x=0 y=0
|
|
|
|
// You can also change the shadow color and opacity.
|
|
color "#000b"
|
|
}
|
|
|
|
struts {
|
|
//left 0
|
|
//right 6
|
|
//top 3
|
|
//bottom 3
|
|
}
|
|
|
|
insert-hint {
|
|
// off
|
|
color "#31748f4c"
|
|
}
|
|
}
|
|
|
|
overview {
|
|
backdrop-color "#26233a"
|
|
zoom 0.5
|
|
}
|
|
|
|
layer-rule {
|
|
match namespace="^swww-daemonblur$"
|
|
place-within-backdrop true
|
|
}
|
|
|
|
animations {
|
|
// off
|
|
|
|
// Slow down all animations by this factor. Values below 1 speed them up instead.
|
|
// slowdown 3.0
|
|
|
|
window-open {
|
|
spring damping-ratio=0.80 stiffness=400 epsilon=0.0001
|
|
}
|
|
|
|
window-close {
|
|
duration-ms 350
|
|
curve "ease-out-expo"
|
|
}
|
|
|
|
window-resize {
|
|
spring damping-ratio=1.0 stiffness=300 epsilon=0.0001
|
|
}
|
|
|
|
window-movement {
|
|
spring damping-ratio=1.0 stiffness=300 epsilon=0.0001
|
|
}
|
|
|
|
overview-open-close {
|
|
duration-ms 300
|
|
curve "ease-out-quad"
|
|
}
|
|
|
|
horizontal-view-movement {
|
|
duration-ms 500
|
|
curve "ease-out-expo"
|
|
}
|
|
|
|
workspace-switch {
|
|
duration-ms 500
|
|
curve "ease-out-expo"
|
|
}
|
|
|
|
screenshot-ui-open {
|
|
duration-ms 400
|
|
curve "ease-out-cubic"
|
|
}
|
|
}
|
|
|
|
include "config.window.kdl"
|
|
include "config.keyboard.kdl"
|
|
|
|
// spawn-at-startup "waybar"
|
|
// spawn-sh-at-startup "wl-paste --watch cliphist store"
|
|
spawn-at-startup "swww-daemon"
|
|
spawn-at-startup "swww-daemon" "--namespace" "blur"
|
|
spawn-at-startup "xwayland-satellite"
|
|
spawn-at-startup "/usr/lib/pam_kwallet_init"
|
|
|
|
environment {
|
|
QT_QPA_PLATFORMTHEME "qt6ct"
|
|
ELECTRON_OZONE_PLATFORM_HINT "auto"
|
|
}
|
|
|
|
hotkey-overlay {
|
|
skip-at-startup
|
|
hide-not-bound
|
|
}
|
|
|
|
gestures {
|
|
hot-corners {
|
|
off
|
|
}
|
|
}
|
|
|
|
prefer-no-csd
|
|
|
|
screenshot-path "~/.tmp/Screenshots/%Y-%m-%d %H-%M-%S.png"
|
|
// screenshot-path null
|