chore(niri): Modify niri configuration

This commit is contained in:
ulic-youthlic 2025-09-17 00:25:17 +08:00
parent 60ec48a43a
commit ecf6be9175
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -514,6 +514,13 @@ in
# (flag "off") # (flag "off")
(leaf "width" [ 4 ]) (leaf "width" [ 4 ])
(leaf "active-color" [ "#7fc8ff" ]) (leaf "active-color" [ "#7fc8ff" ])
(leaf "active-gradient" [
{
from = "#e00a54";
to = "#b8de17";
angle = 45;
}
])
(leaf "inactive-color" [ "#505050" ]) (leaf "inactive-color" [ "#505050" ])
]) ])
(plain "tab-indicator" [ (plain "tab-indicator" [
@ -562,7 +569,7 @@ in
[ [
(window-rule [ (window-rule [
(leaf "draw-border-with-background" [ true ]) (leaf "draw-border-with-background" [ true ])
(leaf "geometry-corner-radius" [ 12.0 ]) (leaf "geometry-corner-radius" [ 0.0 ])
(leaf "clip-to-geometry" [ true ]) (leaf "clip-to-geometry" [ true ])
]) ])
(window-rule [ (window-rule [
@ -572,7 +579,7 @@ in
]) ])
(window-rule [ (window-rule [
(match [ { is-active = true; } ]) (match [ { is-active = true; } ])
(leaf "opacity" [ 0.95 ]) (leaf "opacity" [ 1.0 ])
]) ])
(window-rule [ (window-rule [
(match [ { is-active = false; } ]) (match [ { is-active = false; } ])