1
0
Fork 0
waybar-config/style.css

186 lines
2.8 KiB
CSS
Raw Permalink Normal View History

2024-03-16 07:27:37 +02:00
@import "./palette.css";
2020-06-08 09:31:29 +03:00
* {
2024-03-16 07:27:37 +02:00
/* `otf-font-awesome` is required to be installed for icons */
font-family: "PT Sans", Roboto, Helvetica, Arial, sans-serif;
font-size: 17px;
2020-06-08 09:31:51 +03:00
border: none;
border-radius: 0;
font-size: 13px;
2020-06-08 09:31:51 +03:00
min-height: 0;
2020-06-08 09:31:29 +03:00
}
window#waybar {
2024-03-16 07:27:37 +02:00
background-color: @crust;
color: @text;
2020-06-08 09:31:51 +03:00
transition-property: background-color;
2024-03-16 07:27:37 +02:00
transition-duration: 0.5s;
border-radius: 0px;
2020-06-08 09:31:51 +03:00
transition-duration: .5s;
2024-03-16 07:27:37 +02:00
margin: 16px 16px;
/*
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
*/
2020-06-08 09:31:29 +03:00
}
window#waybar.hidden {
2020-06-08 09:31:51 +03:00
opacity: 0.2;
2020-06-08 09:31:29 +03:00
}
2020-06-08 09:32:32 +03:00
#workspaces button {
2024-03-16 07:27:37 +02:00
color: @text;
background: @background3;
border-radius: 8px;
padding: 0px 10px 0px 10px;
margin: 7px 5px 10px 5px;
border: 1px solid @border;
2020-06-08 09:32:32 +03:00
}
2020-06-08 09:31:29 +03:00
2020-06-08 09:32:32 +03:00
#workspaces button:hover {
2024-03-16 07:27:37 +02:00
background: @surface0;
color: @text;
2020-06-08 09:32:32 +03:00
}
2020-06-08 09:31:29 +03:00
2024-03-16 07:27:37 +02:00
#workspaces button.active {
color: @crust;
background: @overlay2;
border: none;
2020-06-08 09:32:32 +03:00
}
2020-06-08 09:31:29 +03:00
2024-03-16 07:27:37 +02:00
#custom-launcher,
2020-06-08 09:32:32 +03:00
#clock,
#battery,
#cpu,
#temperature,
#backlight,
#network,
#pulseaudio,
2024-03-16 07:27:37 +02:00
#memory,
2024-03-20 17:36:23 +02:00
#custom-weeklog,
2020-06-08 09:32:32 +03:00
#tray,
#mode,
2024-03-16 07:27:37 +02:00
#language,
2020-06-08 09:32:32 +03:00
#idle_inhibitor,
2024-03-16 07:27:37 +02:00
#custom-media,
#custom-weeklog,
#custom-dunst,
#custom-powermenu,
2020-06-08 09:32:32 +03:00
#mpd {
2024-03-16 07:27:37 +02:00
padding: 0px 20px;
2024-03-16 08:01:26 +02:00
/*margin: 7px 0px 10px 0px;*/
margin: 0px;
2024-03-16 07:27:37 +02:00
color: @crust;
background-color: @lavender;
/* border-radius: 8px; */
/* background-color: rgba(0, 26, 128, 0.5); */
}
2024-03-16 08:01:26 +02:00
#memory {
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
2024-03-16 07:27:37 +02:00
#window,
#custom-launcher {
padding: 0px 25px 0px 20px;
margin: 7px 0px 10px 20px;
/*background-color: @mauve;*/
}
/*
#cpu {
background-color: @lavender;
}
#temperature{
background-color: @blue;
2020-06-08 09:32:32 +03:00
}
2020-06-08 09:31:29 +03:00
2020-06-08 09:37:55 +03:00
#memory {
2024-03-16 07:27:37 +02:00
background-color: @sapphire;
}
#custom-dunst {
padding: 0px 20px 0px 13px;
background-color: @sky;
}
#pulseaudio {
padding: 0px 20px 0px 17px;
background-color: @teal;
}
#network {
padding: 0px 15px 0px 20px;
background-color: @green;
}
#battery {
background-color: @yellow;
}
#clock {
background-color: @peach;
}
#custom-powermenu {
padding: 0px 25px 0px 20px;
margin: 7px 20px 10px 0px;
background-color: @maroon;
}
*/
@keyframes blink {
to {
background-color: rgba(30, 34, 42, 0.5);
color: #abb2bf;
}
}
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #000000;
2020-06-08 09:31:29 +03:00
}
window#waybar.hidden {
2020-06-08 09:31:51 +03:00
opacity: 0.2;
2020-06-08 09:31:29 +03:00
}
2020-06-08 10:42:12 +03:00
#workspaces {
margin-right: 10px;
}
2020-06-08 09:31:29 +03:00
2020-06-08 09:32:32 +03:00
#workspaces button.focused {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
2020-06-08 09:31:29 +03:00
2020-06-08 09:32:32 +03:00
#workspaces button.urgent {
background-color: #eb4d4b;
}
2020-06-08 09:31:29 +03:00
2020-06-08 09:32:32 +03:00
@keyframes blink {
to {
2020-06-08 09:31:29 +03:00
background-color: #ffffff;
color: #000000;
2020-06-08 09:31:51 +03:00
}
2020-06-08 09:32:32 +03:00
}
2020-06-08 09:31:29 +03:00
2020-06-08 09:32:32 +03:00
label:focus {
background-color: #000000;
}
2024-03-20 17:36:23 +02:00
#custom-pomodoro.paused {
border-bottom: 3px solid @yellow;
}