fix(waybar): non-empty highlight missing
All checks were successful
/ check (push) Successful in 9s
/ check-renovaterc (push) Successful in 3s
/ build-packages (push) Successful in 13s
/ build-vm (push) Successful in 1s
/ report-size (push) Successful in 3s

Move the style to the bottom of the file with `lib.mkAfter`.
This commit is contained in:
Jalil David Salamé Messina 2025-03-20 18:41:24 +01:00
parent 54fd5df1f8
commit 237a8f6ac5
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -80,8 +80,10 @@ in
settings = lib.mkIf config.jhome.styling.enable (
import ./waybar-settings.nix { inherit config lib; }
);
# Style overrides to highlight workspaces with windows
style =
lib.optionalString config.jhome.styling.enable # css
lib.pipe
# css
''
.modules-left #workspaces button {
border-bottom: 3px solid @base01;
@ -89,7 +91,11 @@ in
.modules-left #workspaces button.persistent {
border-bottom: 3px solid transparent;
}
'';
''
[
(lib.optionalString config.jhome.styling.enable)
lib.mkAfter
];
};
# Terminal
wezterm = {