nix-configs/modules/desktop/home/niri/kdl/style.kdl
2026-01-02 04:54:38 +01:00

85 lines
1.9 KiB
Text

prefer-no-csd
cursor {
xcursor-theme "phinger-cursors-dark"
xcursor-size 32
hide-when-typing
hide-after-inactive-ms 10000
}
layout {
gaps 15
struts {
left 0
right 0
top 0
bottom 0
}
focus-ring { off; }
border {
on
width 3
active-gradient angle=135 from="#f69ecf" in="oklch shorter hue" relative-to="window" to="#5bcefa"
inactive-gradient angle=135 from="#f69ecf" in="oklch shorter hue" relative-to="window" to="#ff9a56"
}
tab-indicator {
hide-when-single-tab
gap 2
width 5
length total-proportion=0.500000
position "left"
gaps-between-tabs 0
corner-radius 3
active-color "#5bcefa"
inactive-color "#3c3836"
}
default-column-width
center-focused-column "never"
}
window-rule {
match is-floating=true
exclude app-id="steam_app_[0-9]+"
shadow {
on
offset x=0 y=0
softness 40
color "#bab9e5af"
inactive-color "#fa9d99af"
}
baba-is-float true
}
window-rule {
geometry-corner-radius 1
clip-to-geometry true
}
window-rule {
match is-window-cast-target=true
border {
on
active-gradient angle=135 \
from="#64de50" \
in="oklch shorter hue" \
relative-to="window" \
to="#5bcefa"
inactive-gradient angle=135 \
from="#64de50" \
in="oklch shorter hue" \
relative-to="window" \
to="#ff9a56"
}
}
layer-rule {
match namespace="launcher"
geometry-corner-radius 10
shadow {
on
offset x=0 y=0
softness 40
color "#bab9e5af"
}
baba-is-float true
}