aboutsummaryrefslogtreecommitdiff
path: root/home/rices/schrottkatze/niri/kdl/style.kdl
blob: fccf7952fe32fbc28a2dea63dac5fd2bfa8f4db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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"
    }
}

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
}