mirror of
https://github.com/avinal/dotfiles.git
synced 2026-07-03 23:20:07 +05:30
49eed0e56a
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
227 lines
3.7 KiB
CSS
227 lines
3.7 KiB
CSS
* {
|
|
/* `otf-font-awesome` is required to be installed for icons */
|
|
font-family: 'Monaspace Radon';
|
|
font-size: 15px;
|
|
padding: 2px 0;
|
|
margin: 2px 0;
|
|
border: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
#window {
|
|
padding: 1px 0;
|
|
}
|
|
|
|
window#waybar {
|
|
background: #262626;
|
|
/* background-color: rgba(43, 48, 59, 0.5); */
|
|
/* border-top: 3px solid rgba(100, 114, 125, 0.5); */
|
|
color: #ffffff;
|
|
transition-property: background-color;
|
|
transition-duration: .5s;
|
|
/* border-right: 1px solid cyan; */
|
|
padding: 0 0;
|
|
}
|
|
|
|
|
|
button {
|
|
/* Use box-shadow instead of border so the text isn't offset */
|
|
box-shadow: inset 0 -3px transparent;
|
|
/* Avoid rounded borders under each button name */
|
|
border: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
|
button:hover {
|
|
background: inherit;
|
|
/* box-shadow: inset 0 -3px #ffffff; */
|
|
}
|
|
|
|
#workspaces button {
|
|
padding: 2px 3px;
|
|
background-color: transparent;
|
|
color: #ffffff;
|
|
/* margin-left: -6px; */
|
|
}
|
|
|
|
#workspaces button:hover {
|
|
background: #66cc99;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
background-color: #eb4d4b;
|
|
}
|
|
|
|
|
|
#workspaces button.focused {
|
|
border-top: 2px solid cyan;
|
|
border-bottom: 2px solid cyan;
|
|
color: palevioletred;
|
|
}
|
|
|
|
#mode {
|
|
/* background-color: #64727D; */
|
|
animation-name: blink;
|
|
/* animation-duration: 0.5s; */
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
animation-direction: alternate;
|
|
border-left: 2px solid darksalmon;
|
|
}
|
|
|
|
#clock,
|
|
#battery,
|
|
#cpu,
|
|
#memory,
|
|
#temperature,
|
|
#network,
|
|
#pulseaudio,
|
|
#wireplumber,
|
|
#custom-dunst,
|
|
#custom-spacer,
|
|
#tray,
|
|
#mode,
|
|
#idle_inhibitor,
|
|
#scratchpad {
|
|
padding: 0 2px;
|
|
/* border-right: 1px solid cyan; */
|
|
background-color: #262626;
|
|
/* margin: 0 3px; */
|
|
}
|
|
|
|
#window,
|
|
#workspaces {
|
|
/* padding: 1px 0; */
|
|
margin: 0 10px;
|
|
}
|
|
|
|
/* If workspaces is the leftmost module, omit left margin */
|
|
.modules-left>widget:first-child>#workspaces {
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* If workspaces is the rightmost module, omit right margin */
|
|
.modules-right>widget:last-child>#workspaces {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#clock {
|
|
/* background-color: #64727D; */
|
|
}
|
|
|
|
#battery {
|
|
/* background-color: #ffffff; */
|
|
color: #ffffff;
|
|
}
|
|
|
|
#battery.charging,
|
|
#battery.plugged {
|
|
color: #26A65B;
|
|
/* background-color: #26A65B; */
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
|
|
#battery.critical:not(.charging) {
|
|
/* background-color: #f53c3c; */
|
|
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;
|
|
}
|
|
|
|
#cpu {
|
|
/* background-color: #2ecc71; */
|
|
color: #2ecc71;
|
|
}
|
|
|
|
#memory {
|
|
/* background-color: #9b59b6; */
|
|
color: #9b59b6;
|
|
}
|
|
|
|
#disk {
|
|
color: #964B00;
|
|
}
|
|
|
|
#backlight {
|
|
color: #90b1b1;
|
|
}
|
|
|
|
#network {
|
|
color: lightseagreen;
|
|
}
|
|
|
|
#network.disconnected {
|
|
color: #f53c3c;
|
|
}
|
|
|
|
#pulseaudio {
|
|
color: #f1c40f;
|
|
}
|
|
|
|
#pulseaudio.muted {
|
|
color: #90b1b1;
|
|
}
|
|
|
|
#temperature {
|
|
color: #f0932b;
|
|
}
|
|
|
|
#temperature.critical {
|
|
color: #eb4d4b;
|
|
}
|
|
|
|
#tray {
|
|
color: #2980b9;
|
|
}
|
|
|
|
#tray>.passive {
|
|
-gtk-icon-effect: dim;
|
|
}
|
|
|
|
#tray>.needs-attention {
|
|
-gtk-icon-effect: highlight;
|
|
background-color: #eb4d4b;
|
|
}
|
|
|
|
#idle_inhibitor {
|
|
color: red;
|
|
}
|
|
|
|
#idle_inhibitor.activated {
|
|
color: lightgreen;
|
|
}
|
|
|
|
#scratchpad {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#scratchpad.empty {
|
|
background-color: transparent;
|
|
}
|
|
|
|
#custom-wakatime {
|
|
color: darksalmon;
|
|
}
|
|
|
|
#custom-dunst {
|
|
color: aquamarine
|
|
}
|
|
|
|
#custom-dunst.dnd {
|
|
color: red;
|
|
/* text-decoration: strikethrough */
|
|
}
|