Update ironbar styling

This commit is contained in:
Evie Litherland-Smith 2023-10-11 14:38:18 +01:00
parent dd0c7b2921
commit ccaca49cb9
5 changed files with 57 additions and 10 deletions

View file

@ -81,11 +81,11 @@ in ''
} }
} }
$layers = ^(eww-.+|ironbar|waybar|bar|system-menu|anyrun|gtk-layer-shell|swaync-.+)$ $layers = ^(ironbar|waybar|system-menu|anyrun|gtk-layer-shell|swaync-.+)$
layerrule = blur, $layers layerrule = blur, $layers
layerrule = ignorealpha 0, $layers # layerrule = ignorezero, $layers
layerrule = ignorealpha 0.5, ^(eww-(music|calendar)|ironbar|waybar|system-menu|anyrun|swaync-.+)$ layerrule = ignorealpha 0.5, $layers
layerrule = xray 1, ^(bar|gtk-layer-shell)$ layerrule = xray 1, ^(ironbar|bar|gtk-layer-shell)$
animations { animations {
enabled = yes enabled = yes

View file

@ -32,9 +32,54 @@
* { * {
color: @text; color: @text;
font-family: "Fira Sans"; font-family: "Fira Sans";
/* border: 1px solid @surface2; */
} }
.workspaces { .background,
#bar {
background: transparent;
}
#bar {
margin-top: 5px;
margin-left: 10px;
margin-right: 10px;
}
#bar #start,
#bar #center,
#bar #end,
.popup {
background: rgba(36, 39, 58, .5);
font-size: 16px;
border: 1px solid @surface2;
border-radius: 10px;
padding-top: 5px;
padding-bottom: 5px;
}
.upower,
.clock,
.workspaces .item,
.launcher .item,
.tray {
background: @surface0;
border-radius: 5px;
margin-left: 5px;
margin-right: 5px;
}
.workspaces .item,
.launcher .item {
border: 1px solid transparent;
font-size: 24px; font-size: 24px;
} }
.workspaces .item.focused,
.launcher .item.focused {
border: 1px solid @lavender;
}
.tray {
padding-left: 5px;
padding-right: 5px;
}

View file

@ -2,5 +2,8 @@
{ {
home.packages = with pkgs; [ ironbar cava ]; home.packages = with pkgs; [ ironbar cava ];
xdg.configFile.ironbar.source = ./config; xdg.configFile.ironbar = {
source = ./config;
recursive = true;
};
} }

View file

@ -24,8 +24,7 @@
disable_splash_rendering = true disable_splash_rendering = true
} }
monitor=eDP-1,preferred,0x190,1 monitor=eDP-1,preferred,0x190,1.5
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1920x190,1 monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x190,1
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,3840x0,1,transform,1
''; '';
} }