dotfiles-remastered/.config/waybar/style.css

121 lines
1.8 KiB
CSS
Raw Permalink Normal View History

2023-12-01 23:00:56 +00:00
@import url("colors.css");
2023-10-25 20:45:26 +00:00
2023-05-05 13:35:28 +00:00
* {
2023-10-25 20:45:26 +00:00
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
2023-12-01 23:00:56 +00:00
/*border-radius: 24px;*/
2023-10-26 18:57:09 +00:00
min-height: 0;
2023-05-05 13:35:28 +00:00
}
window#waybar {
2023-10-26 18:57:09 +00:00
background-color: @bg;
2023-12-01 23:00:56 +00:00
/*border-radius: 24px;*/ /* Have bar itself rounded */
2023-10-26 18:57:09 +00:00
color: @text;
2023-05-05 13:35:28 +00:00
}
window#waybar.hidden {
2023-10-25 20:45:26 +00:00
opacity: 0.2;
2023-05-05 13:35:28 +00:00
}
2023-10-25 20:45:26 +00:00
/*--- Workspaces ---*/
2023-10-26 18:57:09 +00:00
#workspaces{
2023-12-01 23:00:56 +00:00
border-radius: 24px;
2023-10-26 18:57:09 +00:00
border: solid 1px @border;
margin-top: 2px;
margin-bottom: 2px;
}
2023-05-05 13:35:28 +00:00
2023-10-26 18:57:09 +00:00
#workspaces button {
2023-10-25 20:45:26 +00:00
border: none;
2023-10-26 18:57:09 +00:00
border-radius: 24px;
2023-05-05 13:35:28 +00:00
2023-10-26 18:57:09 +00:00
2023-10-25 20:45:26 +00:00
padding: 0 5px;
background-color: transparent;
2023-10-26 18:57:09 +00:00
color: @text;
transition: all 0.3s ease-in-out;
2023-05-05 13:35:28 +00:00
}
#workspaces button:hover {
2023-10-26 18:57:09 +00:00
background: @fg;
2023-10-25 20:45:26 +00:00
/* Disble clicking effect */
box-shadow: inherit;
text-shadow: inherit;
2023-05-05 13:35:28 +00:00
}
#workspaces button.focused {
2023-10-26 18:57:09 +00:00
background-color: @focus;
2023-05-05 13:35:28 +00:00
}
#workspaces button.urgent {
2023-10-25 20:45:26 +00:00
background-color: #eb4d4b;
2023-05-05 13:35:28 +00:00
}
2023-10-25 20:45:26 +00:00
#workspaces button.active{
2023-10-26 18:57:09 +00:00
background-color: @focus;
transition: all 0.3s ease-in-out;
}
/*--- Groups ---*/
#audio, #system, #idle_inhibitor {
border: solid 1px @border;
border-radius: 24px;
margin-top: 2px;
margin-bottom: 2px;
2023-12-01 23:00:56 +00:00
background-color: @focus;
2023-05-05 13:35:28 +00:00
}
2023-10-25 20:45:26 +00:00
/*--- Each module ---*/
#custom-playerctl,
#custom-swaync,
2023-05-05 13:35:28 +00:00
#clock,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
2023-10-25 20:45:26 +00:00
#idle_inhibitor{
2023-10-26 18:57:09 +00:00
color: @text;
padding-left: 6px;
padding-right: 6px;
}
.modules-left{
padding-left: 3px;
}
.modules-right{
padding-right: 3px;
2023-05-05 13:35:28 +00:00
}
/* If workspaces is the leftmost module, omit left margin */
2023-10-26 18:57:09 +00:00
/*
2023-05-05 13:35:28 +00:00
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
2023-10-26 18:57:09 +00:00
*/
2023-05-05 13:35:28 +00:00
/* If workspaces is the rightmost module, omit right margin */
2023-10-26 18:57:09 +00:00
/*
2023-05-05 13:35:28 +00:00
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
2023-10-26 18:57:09 +00:00
*/
2023-05-05 13:35:28 +00:00
2023-10-26 18:57:09 +00:00
#tray > .passive {
-gtk-icon-effect: dim;
2023-05-05 13:35:28 +00:00
}
2023-10-26 18:57:09 +00:00
2023-05-05 13:35:28 +00:00
#custom-swaync {
font-family: "NotoSansMono Nerd Font";
padding: 0 10px;
2023-10-26 18:57:09 +00:00
color: @text;
2023-05-05 13:35:28 +00:00
font-size: 17px;
}