dotfiles/.config/waybar/style.css

103 lines
1.8 KiB
CSS
Raw Normal View History

2020-05-24 13:27:09 +02:00
* {
border-radius: 0;
/* `otf-font-awesome` is required to be installed for icons */
2020-05-26 11:59:27 +02:00
font-family: 'Anka/Coder';/*Roboto, Helvetica, Arial, sans-serif; */
font-size: 14px;
2020-05-26 11:59:27 +02:00
font-weight: bold;
2020-05-24 13:27:09 +02:00
min-height: 0;
}
window#waybar {
background-color: transparent;
2020-05-26 19:06:23 +02:00
/* background-color: #002b36; */
color: #a6baba;
2020-05-24 13:27:09 +02:00
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
#workspaces button {
2020-05-26 19:06:23 +02:00
padding: 1px 5px 0px;
2020-05-24 13:27:09 +02:00
background-color: transparent;
2020-05-26 19:06:23 +02:00
color: #a6baba;
border-top: 2px solid transparent;
2020-05-24 13:27:09 +02:00
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
box-shadow: inherit;
}
#workspaces button.focused {
2020-05-26 19:06:23 +02:00
background-color: #073642; /*#64727D;*/
border-top: 2px solid #839496;
padding: 1px 5px 0px;
2020-05-24 13:27:09 +02:00
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
2020-05-26 19:06:23 +02:00
padding: 1px 5px 0px;
background-color: #073642;
2020-05-24 13:27:09 +02:00
}
#clock,
#battery,
#cpu,
#memory,
#temperature,
#backlight,
#network,
#pulseaudio,
#tray,
#idle_inhibitor,
#mpd {
2020-05-26 19:06:23 +02:00
padding: 0 1px 0;
2020-05-26 11:59:27 +02:00
margin: 0 4px 0;
2020-05-26 19:06:23 +02:00
color: #a6baba;
background-color: transparent;
2020-05-24 13:27:09 +02:00
}
#clock {
2020-05-26 11:59:27 +02:00
padding: 0 0 0;
2020-05-24 13:27:09 +02:00
}
#clock.time {
min-width: 60px;
}
2020-05-24 13:27:09 +02:00
#battery.charging {
color: #26A65B;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#network.disconnected {
2020-05-26 19:06:23 +02:00
color: #f53c3c;
2020-05-24 13:27:09 +02:00
}
#temperature.critical {
background-color: #eb4d4b;
}