waybar restyle, new themes

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-08 12:30:00 +03:00
parent 1a4f54d7bc
commit 07838aa669
5 changed files with 90 additions and 30 deletions

View File

@ -34,19 +34,27 @@ in {
};
"org/gnome/desktop/interface" = {
icon-theme = config.gtk.iconTheme.name;
color-scheme =
if config.stylix.polarity == "dark"
then lib.mkDefault "prefer-dark"
else lib.mkDefault "prefer-light";
};
};
gtk = {
enable = true;
iconTheme = {
iconTheme = let
papirusPackage =
if (lib.strings.hasPrefix "rose-pine" osConfig.module.stylix.theme)
then pkgs.papirus-icon-theme.override {color = "indigo";}
else if (lib.strings.hasPrefix "nord" osConfig.module.stylix.theme)
then pkgs.papirus-icon-theme.override {color = "nordic";}
else pkgs.papirus-icon-theme;
in {
name =
if config.stylix.polarity == "dark"
then "Papirus-Dark"
else "Papirus-Light";
package =
if (removeSuffix "-light" theme) == "nord"
then pkgs.papirus-nord
else pkgs.papirus-icon-theme;
package = papirusPackage;
};
};
qt = {

View File

@ -14,11 +14,12 @@
settings = {
bar-0 = {
# layer = "top";
position = "top";
position = "bottom";
height = 24;
spacing = 4;
# margin-left = 63;
# margin-right = 63;
spacing = 6;
margin-left = 24 + 3;
margin-right = 24 + 3;
margin-bottom = 3;
reload_style_on_change = true;
modules-left = [
"niri/language"
@ -96,7 +97,7 @@
};
};
"tray" = {
icon-size = 16;
icon-size = 20;
spacing = 6;
};
"clock" = {
@ -217,10 +218,8 @@
font-size: 100%;
}
window#waybar {
background-color: @base00;
background-color: transparent;
color: @base05;
transition-property: background-color;
transition-duration: 0.5s;
}
.modules-center {
background-color: transparent;
@ -228,17 +227,18 @@
.mpris.stopped {
background-color: transparent;
}
.mpris.playing,
.mpris.paused,
.modules-left,
.modules-center,
.modules-right {
/* border-top-left-radius: 12px;
border-top-right-radius: 12px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
/* border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
border-top-left-radius: 0px;
border-top-right-radius: 0px; */
background-color: @base00;
color: @base05; */
margin: 0 0.5em;
border-radius: 12px;
border: 3px solid @base0D;
color: @base05;
padding: 0 0.4em;
}
tooltip {
background: @base01;
@ -261,8 +261,9 @@
}
#battery,
#backlight,
#workspaces,
/* #workspaces,
#taskbar,
#privacy, */
#taskbar button,
#language,
#clock,
@ -270,16 +271,15 @@
#backlight,
#wireplumber,
#workspaces button,
#custom-separator {
padding: 0 0.3em;
}
#custom-notification,
#idle_inhibitor,
#power-profiles-daemon,
#privacy,
#privacy-item,
#custom-separator {
padding: 0 0.3em;
}
#tray button {
padding: 0 0.4em;
padding: 0 0.3em;
margin: 0 0.2em;
}
#workspaces button.active {