fix(waybar): non-empty highlight missing
Move the style to the bottom of the file with `lib.mkAfter`.
This commit is contained in:
parent
54fd5df1f8
commit
237a8f6ac5
1 changed files with 8 additions and 2 deletions
|
@ -80,8 +80,10 @@ in
|
||||||
settings = lib.mkIf config.jhome.styling.enable (
|
settings = lib.mkIf config.jhome.styling.enable (
|
||||||
import ./waybar-settings.nix { inherit config lib; }
|
import ./waybar-settings.nix { inherit config lib; }
|
||||||
);
|
);
|
||||||
|
# Style overrides to highlight workspaces with windows
|
||||||
style =
|
style =
|
||||||
lib.optionalString config.jhome.styling.enable # css
|
lib.pipe
|
||||||
|
# css
|
||||||
''
|
''
|
||||||
.modules-left #workspaces button {
|
.modules-left #workspaces button {
|
||||||
border-bottom: 3px solid @base01;
|
border-bottom: 3px solid @base01;
|
||||||
|
@ -89,7 +91,11 @@ in
|
||||||
.modules-left #workspaces button.persistent {
|
.modules-left #workspaces button.persistent {
|
||||||
border-bottom: 3px solid transparent;
|
border-bottom: 3px solid transparent;
|
||||||
}
|
}
|
||||||
'';
|
''
|
||||||
|
[
|
||||||
|
(lib.optionalString config.jhome.styling.enable)
|
||||||
|
lib.mkAfter
|
||||||
|
];
|
||||||
};
|
};
|
||||||
# Terminal
|
# Terminal
|
||||||
wezterm = {
|
wezterm = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue