mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2026-01-15 16:43:06 +01:00
remove dependency on niri overlay from sodi and switch to just kdl
This commit is contained in:
parent
0cb98d2868
commit
3cacac4e6a
21 changed files with 352 additions and 653 deletions
73
modules/desktop/home/niri/kdl/style.kdl
Normal file
73
modules/desktop/home/niri/kdl/style.kdl
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
prefer-no-csd
|
||||
|
||||
cursor {
|
||||
xcursor-theme "phinger-cursors-dark"
|
||||
xcursor-size 16
|
||||
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"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue