dotfiles/.config/waybar/style.css

197 lines
3.1 KiB
CSS
Raw Normal View History

2020-04-29 13:33:26 +02:00
* {
border: none;
border-radius: 0;
font-size: 14px;
font-weight: 400;
2020-04-29 13:33:26 +02:00
box-shadow: none;
text-shadow: none;
transition-duration: 0s;
}
/* The whole bar */
#waybar {
background: #282a36;
2020-04-29 13:33:26 +02:00
color: white;
font-family: FiraCode Retina, Noto Sans, sans-serif;
font-weight: 600;
2020-04-29 13:33:26 +02:00
font-size: 13px;
}
#window {
border-top: 3px solid transparent;
padding: 0 2px;
2020-04-29 13:33:26 +02:00
background: rgba(35, 31, 32, 0.00);
color: #bd93f9;
font-weight: 700;
2020-04-29 13:33:26 +02:00
}
window#waybar.solo {
/* color: rgba(217, 216, 216, 1); */
2020-04-29 13:33:26 +02:00
}
#mode {
border-top: 3px solid transparent;
padding: 1px 2px;
2020-04-29 13:33:26 +02:00
background: #791455;
/* padding: .1em .2em; */
2020-04-29 13:33:26 +02:00
}
#workspaces {
margin: 0;
padding: 0;
2020-04-29 13:33:26 +02:00
}
#workspaces button {
/* To compensate for the top border and still have vertical centering */
border-top: 2px solid transparent;
padding: 0 2px;
2020-04-29 13:33:26 +02:00
color: #888888;
}
#workspaces button.visible {
color: rgba(217, 216, 216, 1);
}
#workspaces button.focused {
border-top: 2px solid #bd93f9;
2020-04-29 13:33:26 +02:00
color: white;
background-color: #6262a4;
font-weight: 700;
2020-04-29 13:33:26 +02:00
}
#workspaces button.urgent {
border-color: #c9545d;
color: #c9545d;
}
#mode, #battery, #cpu, #memory, #pulseaudio, #backlight, #custom-storage, #custom-spotify, #custom-weather, #custom-mail {
2020-05-27 10:01:10 +02:00
margin: 0px 5px 0px 5px;
min-width: 30px;
2020-04-29 13:33:26 +02:00
}
2021-12-26 03:19:05 +01:00
#language {
margin: 0px 5px;
min-width: 30px;
2021-12-26 03:19:05 +01:00
}
2020-04-29 13:33:26 +02:00
#clock.date {
margin: 0px 0px 0px 5px;
2020-04-29 13:33:26 +02:00
}
#clock.time {
margin: 0px 10px 0px 0px
}
2020-05-27 10:01:10 +02:00
@keyframes blink {
to {
color: white;
}
}
@keyframes blink-w-cr {
to {
color: pink;
}
}
2020-04-29 13:33:26 +02:00
#battery.warning {
color: #ffbf00;
background-color: #282a36;
font-weight: bold;
animation: blink-w-cr 2s linear infinite alternate;
2020-04-29 13:33:26 +02:00
}
#battery.critical {
color: rgba(238, 46, 36, 1);
background-color: #282a36;
font-weight: bold;
animation: blink-w-cr .9s linear infinite alternate;
2020-04-29 13:33:26 +02:00
}
#battery.charging {
2020-05-27 10:01:10 +02:00
color: rgba(59, 176, 216, 1);
background-color: #282a36;
2020-05-27 10:01:10 +02:00
font-weight: bold;
animation: blink 2s linear infinite alternate;
}
#network {
/* min-width: 10px; */
margin: 0px 2px 0px 5px;
2020-05-27 10:01:10 +02:00
}
#network.disconnected {
color: red;
background-color: #282a36;
2020-04-29 13:33:26 +02:00
}
2021-12-26 03:37:57 +01:00
#network.wireguard {
margin: 0 3px;
2021-12-26 03:37:57 +01:00
min-width: 0;
}
2021-12-26 03:33:04 +01:00
#temperature {
margin: 0 3px ;
min-width: 0;
}
2020-04-29 13:33:26 +02:00
#custom-storage.warning {
color: #ffbf00;
background-color: #282a36;
2020-04-29 13:33:26 +02:00
}
#custom-storage.critical {
color: rgba(238, 46, 36, 1);
background-color: #282a36;
2020-04-29 13:33:26 +02:00
}
2020-05-27 10:01:10 +02:00
#custom-storage {
margin: 0 0 0 7px;
2020-05-27 10:01:10 +02:00
}
#memory {
margin: 0 5px;
}
#memory.warning {
color: #ffbf00;
background-color: #282a36;
}
#memory.critical {
color: rgba(238, 46, 36, 1);
background-color: #282a36;
2020-05-27 10:01:10 +02:00
}
#cpu {
/* color: #6c71c4; */
margin: 0 5px 0 0;
}
#cpu.warning {
color: #99c1f1;
background-color: #282a36;
}
#cpu.critical {
color: rgba(238, 46, 36, 1);
background-color: #282a36;
}
2020-05-27 10:01:10 +02:00
2020-04-29 13:33:26 +02:00
#tray {
margin: 0 5px;
min-width: 30px;
2020-05-27 10:01:10 +02:00
}
#pulseaudio {
margin: 0 2px;
2020-04-29 13:33:26 +02:00
}
/* dark theme */
/*#mode {
background: #64727D;
padding: .1em .2em;
}*/
/*#workspaces button {
padding: 0 2px;
color: rgba(217, 216, 216, 0.4);
}*/
/*#workspaces button.focused {
border-top: 2px solid rgba(217, 216, 216, 1);
border-bottom: 2px solid rgba(217, 216, 216, 0);
}*/
/*#workspaces button.urgent {
color: rgba(238, 46, 36, 1);
}*/