mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 18:51:54 -05:00
waybar: improve css overrides and lightmode tooltips
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
2ebcca284f
commit
e20dd90467
|
@ -267,9 +267,17 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
style = ''
|
||||
style = lib.mkAfter ''
|
||||
${
|
||||
lib.optionalString (config.stylix.polarity == "light") "
|
||||
tooltip {
|
||||
border-radius: ${toString cfg.theme.borders.radius};
|
||||
background: alpha(@base05, ${builtins.toString config.stylix.opacity.desktop});
|
||||
color: ${config.lib.stylix.colors.withHashtag.base00};
|
||||
}"
|
||||
}
|
||||
|
||||
tooltip {
|
||||
border-radius: ${toString cfg.theme.borders.radius}px;
|
||||
}
|
||||
|
||||
#battery,
|
||||
|
@ -305,17 +313,17 @@ in {
|
|||
}
|
||||
|
||||
#workspaces button {
|
||||
border-radius: ${toString cfg.theme.borders.radius};
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
#workspaces button.active,
|
||||
#workspaces button.focused {
|
||||
color: ${config.lib.stylix.colors.withHashtag."base0D"};
|
||||
color: ${config.lib.stylix.colors.withHashtag.base0D};
|
||||
}
|
||||
|
||||
#battery.charging,
|
||||
#power-profiles-daemon.power-saver {
|
||||
color: ${config.lib.stylix.colors.withHashtag."base0B"};
|
||||
color: ${config.lib.stylix.colors.withHashtag.base0B};
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging),
|
||||
|
@ -325,14 +333,14 @@ in {
|
|||
#network.disconnected,
|
||||
#power-profiles-daemon.performance,
|
||||
#pulseaudio.muted {
|
||||
color: ${config.lib.stylix.colors.withHashtag."base08"};
|
||||
color: ${config.lib.stylix.colors.withHashtag.base08};
|
||||
}
|
||||
|
||||
#submap,
|
||||
#mode {
|
||||
background-color: ${config.lib.stylix.colors.withHashtag."base08"};
|
||||
border-radius: ${toString cfg.theme.borders.radius};
|
||||
color: ${config.lib.stylix.colors.withHashtag."base00"};
|
||||
background-color: ${config.lib.stylix.colors.withHashtag.base08};
|
||||
border-radius: ${toString cfg.theme.borders.radius}px;
|
||||
color: ${config.lib.stylix.colors.withHashtag.base00};
|
||||
font-weight: bold;
|
||||
}
|
||||
'';
|
||||
|
@ -348,14 +356,14 @@ in {
|
|||
|
||||
xdg.configFile."nwg-drawer/drawer.css".text = ''
|
||||
window {
|
||||
background-color: alpha (${config.lib.stylix.colors.withHashtag."base00"}, ${toString config.stylix.opacity.popups});
|
||||
color: ${config.lib.stylix.colors.withHashtag."base05"}
|
||||
background-color: alpha (${config.lib.stylix.colors.withHashtag.base00}, ${toString config.stylix.opacity.popups});
|
||||
color: ${config.lib.stylix.colors.withHashtag.base05}
|
||||
}
|
||||
|
||||
/* search entry */
|
||||
entry {
|
||||
background-color: rgba (0, 0, 0, 0.2);
|
||||
border: alpha(${config.lib.stylix.colors.withHashtag."base07"}, ${toString config.stylix.opacity.popups});
|
||||
border: alpha(${config.lib.stylix.colors.withHashtag.base07}, ${toString config.stylix.opacity.popups});
|
||||
border-radius: ${toString cfg.theme.borders.radius}px
|
||||
}
|
||||
|
||||
|
@ -366,10 +374,10 @@ in {
|
|||
}
|
||||
|
||||
button:active, button:hover, button:focused {
|
||||
background-color: alpha (${config.lib.stylix.colors.withHashtag."base05"}, 0.2);
|
||||
background-color: alpha (${config.lib.stylix.colors.withHashtag.base05}, 0.2);
|
||||
border: none;
|
||||
border-radius: ${toString cfg.theme.borders.radius}px;
|
||||
color: ${config.lib.stylix.colors.withHashtag."base0D"}
|
||||
color: ${config.lib.stylix.colors.withHashtag.base0D}
|
||||
}
|
||||
|
||||
#category-button {
|
||||
|
|
Loading…
Reference in a new issue