Files
dotfiles_arch/niri/.config/niri/waybar-niri_2/style.css
2026-01-19 21:05:12 +01:00

166 lines
2.6 KiB
CSS

@import "theme.css";
@import "colors.css";
* {
font-family: "JetBrainsMono";
font-size: 12px;
}
window#waybar {
background-color: rgba(43, 48, 59, 0.5);
/* background: color: @rose, @theme_base_color); */
color: @text;
transition-property { @rose} ;
transition-duration [0.5s];
}
window#waybar.hidden {
opacity: 0.2;
}
button {
border: none;
border-radius: 0;
}
button:hover {
background: inherit;
}
#workspaces {
padding: 5px;
}
#workspaces button {
padding: 0 10px;
background-color: transparent;
color: @muted;
border-radius: 10px;
}
#workspaces button:hover {
color: #e5c890;
}
#workspaces button.active,
#workspaces button.default,
#workspaces button.focused {
background: #babbf1;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
/* #clock, */
/* #battery, */
/* #cpu, */
/* #memory, */
#disk,
#temperature,
#backlight,
#network,
/* #pulseaudio, */
#wireplumber,
/* #custom-media, */
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#power-profiles-daemon,
#mpd {
padding: 0 10px;
color: @theme_fg_color;
}
#window,
#workspaces {
margin: 0 4px;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
#clock,
#cpu {
color: @yellow;
}
#memory {
color: @mauve;
}
/* #backlight, */
/* #network, */
/* #pulseaudio, */
/* #custom-media, */
/* #tray, */
/* #custom-power, */
/* #bluetooth, */
#battery.charging {
color: @rose;
}
#battery.plugged {
color: @yellow;
}
#battery.full {
color: @mauve;
}
#power-profiles-daemon {
padding: 5px 15px;
color: @sky;
background-color: alpha(@theme_unfocused_bg_color, 0.4);
border-radius: 20px;
margin: 0 4px;
}
#power-profiles-daemon.performance {
color: @red;
}
#power-profiles-daemon.power-saver {
color: @yellow;
}
#battery.charging {
color: @sky;
}
#custom-power {
background-color: @red;
border-radius: 20px 0 0 20px;
transition: all 250ms ease-in-out;
}
#tray {
border-radius: 20px;
margin: 0 5px;
}
#clock {
border-radius: 20px;
margin: 0 5px;
}
#network.wifi {
color: @rose;
}
#network.ethernet {
color: @blue;
}
#network.disconnected {
color: @red;
}
#pulseaudio {
color: @yellow;
}
#pulseaudio.muted {
color: @red;
}
#custom-power {
color: @text;
margin: 0;
}
#custom-logo {
background-color: @blue;
padding: 0 17px;
border-radius: 0 20px 20px 0;
}
#bluetooth {
color: @mauve;
border-radius: 20px;
margin: 0 5px;
}
#bluetooth.connected {
color: @mauve;
}
#bluetooth.disabled {
color: @red;
}