dotfiles/.config/waybar/style.css
2025-06-26 20:30:12 +05:00

298 lines
6.2 KiB
CSS

/*
* __ __ _ ____ _ _
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
* \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/
* \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___|
* |___/ |___/
*
* by Stephan Raabe (2023)
* -----------------------------------------------------
*/
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
/* @import 'style-light.css'; */
/* -----------------------------------------------------
* General
* ----------------------------------------------------- */
* {
font-family: HackNerdFont-Regular;
border: none;
}
window#waybar {
background-color: rgba(0,0,0,0.8);
border-bottom: 0px solid #ffffff;
/* color: #FFFFFF; */
background: transparent;
transition-property: background-color;
transition-duration: .5s;
}
#custom-arch{
font-size: 30px;
margin-left: 10px;
margin-right: 5px;
color: #1793d1;
}
/* -----------------------------------------------------
* Workspaces
* ----------------------------------------------------- */
#workspaces {
/* background: white; */
margin: 2px 10px 3px 10px;
padding: 0px 0px;
border-radius: 15px;
border: 0px;
font-size: 10px;
color: white;
font-size: 16px;
}
#workspaces button {
padding: 0px 5px;
margin: 4px 3px;
border-radius: 15px;
border: 0px;
transition: all 0.3s ease-in-out;
}
#workspaces button.active {
background: #1793d1;
border-radius: 15px;
min-width: 40px;
transition: all 0.3s ease-in-out;
}
#workspaces button:hover {
min-width: 40px;
}
/* -----------------------------------------------------
* Tooltips
* ----------------------------------------------------- */
tooltip {
border-radius: 10px;
opacity:0.8;
padding:0px;
margin:0px;
}
tooltip label {
color: white;
}
/* -----------------------------------------------------
* Window
* ----------------------------------------------------- */
#window {
margin: 5px 15px 5px 0px;
padding: 2px 10px 0px 10px;
border-radius: 12px;
font-size:16px;
font-weight:normal;
opacity:0.8;
}
window#waybar.empty #window {
background-color:transparent;
}
/* -----------------------------------------------------
* Taskbar
* ----------------------------------------------------- */
#taskbar {
margin: 3px 15px 3px 0px;
padding:0px;
border-radius: 15px;
font-weight: normal;
font-style: normal;
opacity:0.8;
border:3px solid white;
}
#taskbar button {
margin:0;
border-radius: 15px;
padding: 0px 5px 0px 5px;
}
/* -----------------------------------------------------
* Modules
* ----------------------------------------------------- */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
/* -----------------------------------------------------
* Custom Exit
* ----------------------------------------------------- */
#custom-exit {
margin: 0px 20px 0px 0px;
padding:0px;
font-size:16px;
}
/* -----------------------------------------------------
* Custom Updates
* ----------------------------------------------------- */
#custom-updates {
font-size: 16px;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
#custom-updates.green {
}
#custom-updates.yellow {
background-color: #ff9a3c;
color: #FFFFFF;
}
#custom-updates.red {
background-color: #dc2f2f;
color: #FFFFFF;
}
/* -----------------------------------------------------
* Clock
* ----------------------------------------------------- */
#clock {
font-size: 16px;
border-radius: 15px;
padding: 1px 10px 0px 10px;
margin: 3px 15px 3px 0px;
opacity:0.8;
border:3px solid white;
}
/* -----------------------------------------------------
* Language
* ----------------------------------------------------- */
#language{
margin-right: 15px;
}
/* -----------------------------------------------------
* KeyBoard State
* ----------------------------------------------------- */
#keyboard-state {
margin-right: 10px;
margin-left: 10px;
font-size: 20px;
}
/* -----------------------------------------------------
* Notifications
* ----------------------------------------------------- */
#custom-notification {
padding-right: 10px;
font-size: 16px;
}
/* -----------------------------------------------------
* Pulseaudio
* ----------------------------------------------------- */
#pulseaudio {
font-size: 16px;
border-radius: 15px;
padding: 0px;
margin: 0px 10px 0px 0px;
opacity:0.8;
}
#pulseaudio.muted {
}
/* -----------------------------------------------------
* Network
* ----------------------------------------------------- */
#network {
font-size: 16px;
border-radius: 15px;
padding: 0px;
margin: 0px 10px 0px 0px;
opacity:0.8;
}
#network.ethernet {
}
#network.wifi {
}
/* -----------------------------------------------------
* Bluetooth
* ----------------------------------------------------- */
#bluetooth, #bluetooth.on, #bluetooth.connected {
font-size: 16px;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 5px 10px 5px 0px;
opacity:0.8;
}
#bluetooth.off {
background-color: transparent;
padding: 0px;
margin: 0px;
}
/* -----------------------------------------------------
* Battery
* ----------------------------------------------------- */
#battery {
font-size: 16px;
border-radius: 15px;
padding: 0px;
margin: 0px 10px 0px 0px;
opacity:0.8;
}
#battery.charging, #battery.plugged {
}
@keyframes blink {
to {
background-color: @backgroundlight;
color: @textcolor2;
}
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}