configuration.nix/home/sway/waybar/style.css

111 lines
1.7 KiB
CSS
Raw Normal View History

2023-03-15 22:11:59 +05:30
@import "colors.css";
* {
border: none;
border-radius: 0px;
font-family: 'FiraCode Nerd Font';
font-size: 16px;
min-height: 0;
}
#window {
padding: 0px 10px;
background: @background;
}
window#waybar {
background: @background;
color: @foreground;
}
window#waybar.hidden {
opacity: 0.2;
}
window#waybar.empty {
background: @background;
}
window#waybar.solo {
background: @background;
}
#workspaces button {
padding: 0px 3px;
background: @background;
color: @foreground;
}
#workspaces button.focused {
color: @green;
}
#workspaces button.urgent {
background: @background;
color: @red;
}
#mode {
background: @background;
border: 3px solid @purple;
}
#clock,
#battery,
#backlight,
#network,
#pulseaudio,
#tray,
#mode,
#idle_inhibitor,
#bluetooth {
padding: 0 10px;
color: @foreground;
background-color: @background;
}
@keyframes blink {
to {
color: @foreground;
}
}
#battery.warning {
color: @yellow;
animation-name: blink;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: normal;
}
#battery.critical {
color: @red;
animation-name: blink;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: normal;
}
#battery.charging {
color: @green;
animation-name: blink;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: normal;
}
label:focus {
background-color: @selection;
}
#temperature.critical {
color: @red;
}
#idle_inhibitor.activated {
color: @green;
}