dotfiles/modules/home/programs/waybar/waybar_style.css

136 lines
1.8 KiB
CSS
Raw Permalink Normal View History

2024-08-18 05:28:50 +00:00
@import "./catppuccin.css";
2023-03-19 15:16:10 +00:00
* {
2024-07-10 05:54:23 +00:00
border: none;
font-family: Hack Nerd Font, sans-serif;
font-size: 1em;
2023-03-19 15:16:10 +00:00
}
window#waybar {
background-color: @base;
color: @text;
2024-07-10 05:54:23 +00:00
transition-property: background-color;
transition-duration: .5s;
2024-08-18 06:10:55 +00:00
opacity: 0.95;
2023-03-19 15:16:10 +00:00
}
window#waybar.hidden {
2024-07-10 05:54:23 +00:00
opacity: 0.2;
2023-03-19 15:16:10 +00:00
}
#workspaces,
#mode,
#cpu,
#memory,
#temperature,
#clock,
#idle_inhibitor,
#language,
#pulseaudio,
#backlight,
#battery,
#network,
2024-07-10 05:54:23 +00:00
#tray,
#custom-notification {
background-color: @crust;
2024-07-10 05:54:23 +00:00
padding: 0 10px;
margin: 3px;
/* border: 3px solid rgba(0, 0, 0, 0); */
2024-07-10 05:54:23 +00:00
border-radius: 90px;
background-clip: padding-box;
2023-03-19 15:16:10 +00:00
}
#workspaces button {
2024-07-10 05:54:23 +00:00
padding: 0 5px;
min-width: 20px;
color: @blue;
2023-03-19 15:16:10 +00:00
}
#workspaces button:hover {
2024-07-10 05:54:23 +00:00
background-color: rgba(0, 0, 0, 1)
2023-03-19 15:16:10 +00:00
}
#workspaces button.focused {
color: @yellow;
2023-03-19 15:16:10 +00:00
}
#workspaces button.urgent {
color: @red;
2023-03-19 15:16:10 +00:00
}
#clock {
color: @sky;
2023-03-19 15:16:10 +00:00
}
#idle_inhibitor {
color: @sky;
2023-03-19 15:16:10 +00:00
}
#idle_inhibitor.activated {
background-color: @overlay0;
2023-03-19 15:16:10 +00:00
}
#temperature {
color: @red;
2023-03-19 15:16:10 +00:00
}
#temperature.critical {
background-color: @overlay0;
2023-03-19 15:16:10 +00:00
}
#cpu {
color: @peach;
2023-03-19 15:16:10 +00:00
}
#memory {
color: @sky;
2023-03-19 15:16:10 +00:00
}
#battery {
color: @green;
2023-03-19 15:16:10 +00:00
}
2024-07-10 05:54:23 +00:00
#battery.charging,
#battery.plugged {
background-color: @overlay0;
2023-03-19 15:16:10 +00:00
}
@keyframes blink {
2024-07-10 05:54:23 +00:00
to {
background-color: @overlay0;
2024-07-10 05:54:23 +00:00
}
2023-03-19 15:16:10 +00:00
}
#battery.critical:not(.charging) {
background-color: @overlay0;
2024-07-10 05:54:23 +00:00
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
2023-03-19 15:16:10 +00:00
}
#pulseaudio {
color: @yellow;
2023-03-19 15:16:10 +00:00
}
#pulseaudio.muted {
2024-08-29 02:09:59 +00:00
background-color: @overlay0;
2023-03-19 15:16:10 +00:00
}
#backlight {
color: @blue;
2023-03-19 15:16:10 +00:00
}
#network {
color: @mauve;
2023-03-19 15:16:10 +00:00
}
#network.disconnected {
color: @rosewater;
2024-07-10 05:54:23 +00:00
}
#custom\/notification {
color: @red;
2023-03-19 15:16:10 +00:00
}