hyprland-dotfiles/waybar/style.css

294 lines
4.3 KiB
CSS
Raw Normal View History

2023-08-20 09:46:46 +00:00
@import 'colors-waybar.css';
2023-08-19 09:21:42 +00:00
* {
font-family: "Fira Sans Semibold", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
2023-08-20 09:46:46 +00:00
font-size: 14px;
border-radius: 4px;
2023-08-19 09:21:42 +00:00
}
window#waybar {
2023-08-20 09:46:46 +00:00
background-color: rgba(0,0,0,0.3);
/* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
color: #FFFFFF;
2023-08-19 09:21:42 +00:00
transition-property: background-color;
transition-duration: .5s;
2023-08-20 09:46:46 +00:00
border-radius: 0;
2023-08-19 09:21:42 +00:00
}
window#waybar.hidden {
opacity: 0.2;
}
window#waybar.termite {
background-color: #3F3F3F;
}
window#waybar.chromium {
background-color: #000000;
border: none;
}
button {
2023-08-20 09:46:46 +00:00
/* box-shadow: inset 0 -3px transparent; */
2023-08-19 09:21:42 +00:00
border: none;
border-radius: 0;
}
button:hover {
background: inherit;
2023-08-20 09:46:46 +00:00
box-shadow: inset 0 0px @foreground;
2023-08-19 09:21:42 +00:00
}
#workspaces button {
2023-08-20 15:34:53 +00:00
padding: 0 10px;
2023-08-19 09:21:42 +00:00
color: #ffffff;
}
#workspaces button:hover {
2023-08-20 09:46:46 +00:00
background-color: @foreground;
color: @background;
}
#workspaces button.active {
background-color: @color11;
color: #FFFFFF;
2023-08-19 09:21:42 +00:00
}
#workspaces button.focused {
2023-08-20 09:46:46 +00:00
background-color: @foreground;
2023-08-19 09:21:42 +00:00
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#mpd {
2023-08-20 09:46:46 +00:00
margin: 6px 6px;
2023-08-19 09:21:42 +00:00
padding: 0 10px;
color: #ffffff;
}
#window,
#workspaces {
2023-08-20 15:34:53 +00:00
margin: 0 10px 0 6px;
2023-08-19 09:21:42 +00:00
}
2023-08-20 15:34:53 +00:00
2023-08-19 09:21:42 +00:00
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
2023-08-20 09:46:46 +00:00
#custom-appmenu {
margin-left:10;
}
2023-08-20 15:34:53 +00:00
#custom-brave, #custom-outlook, #custom-teams, #custom-chatgpt, #custom-calculator {
margin-right:10px;
}
2023-08-20 09:46:46 +00:00
#custom-exit {
margin-right: 10px;
}
2023-08-19 09:21:42 +00:00
#clock {
2023-08-20 09:46:46 +00:00
background-color: @color11;
2023-08-19 09:21:42 +00:00
}
#battery {
background-color: #ffffff;
color: #000000;
}
#battery.charging, #battery.plugged {
color: #ffffff;
background-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;
}
label:focus {
background-color: #000000;
}
#cpu {
2023-08-20 09:46:46 +00:00
background-color: @foreground;
color: #000000;
2023-08-19 09:21:42 +00:00
}
#memory {
2023-08-20 09:46:46 +00:00
background-color: @foreground;
color:#000000;
2023-08-19 09:21:42 +00:00
}
#disk {
background-color: #964B00;
}
#backlight {
background-color: #90b1b1;
}
#network {
background-color: #2980b9;
}
#network.disconnected {
background-color: #f53c3c;
}
#pulseaudio {
2023-08-20 09:46:46 +00:00
background-color: @foreground;
2023-08-19 09:21:42 +00:00
color: #000000;
}
#pulseaudio.muted {
2023-08-20 09:46:46 +00:00
/*
2023-08-19 09:21:42 +00:00
background-color: #90b1b1;
color: #2a5c45;
2023-08-20 09:46:46 +00:00
*/
2023-08-19 09:21:42 +00:00
}
#wireplumber {
background-color: #fff0f5;
color: #000000;
}
#wireplumber.muted {
background-color: #f53c3c;
}
#custom-media {
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: #66cc99;
}
#custom-media.custom-vlc {
background-color: #ffa000;
}
#temperature {
background-color: #f0932b;
}
#temperature.critical {
background-color: #eb4d4b;
}
#tray {
background-color: #2980b9;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
background-color: #2d3436;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
}
#mpd {
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
}
#mpd.paused {
background-color: #51a37a;
}
#language {
2023-08-20 09:46:46 +00:00
/*
2023-08-19 09:21:42 +00:00
background: #00b093;
color: #740864;
padding: 0 5px;
margin: 0 5px;
min-width: 16px;
2023-08-20 09:46:46 +00:00
*/
2023-08-19 09:21:42 +00:00
}
#keyboard-state {
background: #97e1ad;
color: #000000;
padding: 0 0px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state > label {
padding: 0 5px;
}
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad.empty {
background-color: transparent;
}