revert New waybar
This commit is contained in:
2022-08-07 20:41:17 +02:00
parent 6f3c9265ca
commit daef669059
2 changed files with 210 additions and 381 deletions

View File

@@ -1,220 +1,158 @@
* {
font-family: JetBrainsMonoNL, "Font Awesome 6 Brands", "Font Awesome 6 Free", Helvetica, Arial, sans-serif;
font-size: 14px;
padding: 3px 0px;
border: none;
border-radius: 0;
font-family: "JetbrainsMono Nerd Font";
font-size: 14px;
}
window#waybar {
background-color: rgba(64, 70, 71, 0.95);
margin: 0;
border-radius: 0px 0px 15px 15px;
color: #d8dee9;
transition-property: background-color;
transition-duration: .5s;
background: none;
}
window#waybar.hidden {
opacity: 0.2;
}
#window {
margin-top: 6px;
padding-left: 10px;
padding-right: 10px;
border-radius: 5px;
transition: none;
background: #2e3440;
color: #d8dee9;
}
#custom-powermenu {
margin-top: 6px;
margin-left: 12px;
margin-right: 12px;
padding-left: 15px;
padding-right: 20px;
border-radius: 5px;
transition: none;
background: #2e3440;
}
#tags {
background-color: #d8dee9;
border-radius: 0px 0px 15px 15px;
padding: 0px 15px 0px 15px;
box-shadow: 0px -4px 0px 0px #d8dee9;
color: #1b1b1b;
margin-top: 6px;
margin-right: 12px;
font-size: 4px;
border-radius: 5px;
transition: none;
background: #2e3440;
}
#tags button {
color: #1b1b1b;
margin: 0.5px 2px;
padding: 0px 7px 0px 7px;
}
#tags button:hover {
background: rgba(0, 0, 0, 0.2);
box-shadow: inset 0 -2px #2b2b2b;
color: #2b2b2b;
transition: none;
color: #4c566a;
background: transparent;
border-radius: 0px;
}
#tags button.occupied {
color: #2b2b2b;
box-shadow: inset 0 -3px #2b2b2b;
transition: none;
color: #a3be8c;
background: transparent;
font-size: 4px;
}
#tags button.focused {
background-color: #64727d;
color: #d8dee9;
box-shadow: inset 0 -4px #2b2b2b;
color: #81a1c1;
border-bottom: 2px solid #81a1c1;
}
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
#tags button:hover {
transition: none;
box-shadow: inherit;
text-shadow: inherit;
color: #81a1c1;
}
#clock,
#battery,
#cpu,
#custom-start,
#custom-power,
#custom-warp,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#mpd {
padding: 0px 15px 0px 15px;
color: #ffffff;
}
#window,
#workspaces {
margin: 0px 0px;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #custom-start {
margin-left: 10px;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #custom-power {
margin-right: 10px;
}
#clock {
padding: 0px 15px 0px 15px;
border-radius: 15px;
background-color: #1b1b1b;
}
#battery {
border-radius: 15px;
padding: 0px 15px 0px 15px;
background-color: #301b1c;
color: #0cf7e8;
}
#battery.charging, #battery.plugged {
color: #ffffff;
background-color: #1b2a30;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#battery.critical:not(.charging) {
background-color: #f52f2f;
color: #f4f714;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#cpu {
border-radius: 15px;
padding: 0px 15px 0px 15px;
background-color: #1b1b1b;
color: #d8dee9;
}
#memory {
border-radius: 15px;
padding: 0px 15px 0px 15px;
background-color: #1b1b1b;
}
#backlight {
border-radius: 15px;
background-color: #1b1b1b;
}
#network {
border-radius: 15px;
padding: 0px 15px 0px 15px;
background-color: #1b1b1b;
color: #0cf7e8;
}
#network.disconnected {
border-radius: 15px;
background-color: #1b1b1b;
color: #4c666a;
#temperature {
margin-top: 6px;
margin-right: 12px;
border-radius: 5px;
transition: none;
padding: 0 10px;
color: #a3be8c;
background: #2e3440;
}
#pulseaudio {
background-color: #1b1b1b;
border-radius: 15px;
padding: 0px 15px 0px 15px;
color: #d8dee9;
margin-top: 6px;
margin-left: 12px;
border-radius: 5px;
transition: none;
padding: 0 10px;
color: #a3be8c;
background: #2e3440;
}
#pulseaudio.muted {
background-color: #1b1b1b;
color: #4c666a;
#battery {
margin-top: 6px;
margin-left: 12px;
border-radius: 5px;
transition: none;
padding: 10px 10px;
color: #a3be8c;
background: #2e3440;
}
#battery.critical:not(.charging) {
background-color: #d8dee9;
color: #2e3440;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
@keyframes blink {
to {
background-color: #bf616a;
color: #d8dee9;
}
}
#backlight {
margin-top: 6px;
margin-left: 12px;
border-radius: 5px;
transition: none;
padding: 10px 10px;
color: #88c0d0;
background: #2e3440;
}
#custom-cpu {
margin-top: 6px;
margin-left: 12px;
border-radius: 5px;
transition: none;
padding: 10px 10px;
color: #88c0d0;
background: #2e3440;
}
#custom-clock {
margin-top: 6px;
margin-left: 12px;
margin-right: 12px;
border-radius: 5px;
transition: none;
padding: 10px 10px;
color: #a3be8c;
background: #2e3440;
}
#tray {
border-radius: 15px;
padding: 5px 15px 5px 15px;
background-color: #1b1b1b;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #f52f2f;
}
#mpd {
border-radius: 15px;
padding: 5px 15px 5px 15px;
background-color: #1b1b1b;
color: #d8dee9;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
}
#mpd.paused {
background-color: #4c666a;
}
#custom-start {
border-radius: 15px;
padding: 0px 15px 0px 15px;
background-color: #2b2b2b;
color: #14b3f7;
}
#custom-power {
padding: 0px 15px 0px 15px;
border-radius: 15px;
font-size: 25px;
background-color: #301b1c;
color: #24c796;
}
#custom-warp {
padding: 0px 15px 0px 15px;
border-radius: 15px;
background-color: #071a24;
color: #d8dee9;
margin-top: 6px;
margin-right: 12px;
border-radius: 5px;
padding-left: 10px;
padding-right: 10px;
color: #d8dee9;
background: #2e3440;
}