waybar fix
This commit is contained in:
Executable
+215
@@ -0,0 +1,215 @@
|
||||
@import "colors/colors.css";
|
||||
|
||||
* {
|
||||
font-family: 'CaskaydiaCove Nerd Font Propo';
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
#waybar {
|
||||
font-weight: 700;
|
||||
background: transparent;
|
||||
font-size: 14px;
|
||||
color: @fg;
|
||||
}
|
||||
|
||||
/* global paddings */
|
||||
#temperature,
|
||||
#bluetooth,
|
||||
#battery,
|
||||
#memory,
|
||||
#mpris,
|
||||
#window,
|
||||
#cpu,
|
||||
#load,
|
||||
#backlight,
|
||||
#pulseaudio {
|
||||
padding: 1px 7px;
|
||||
}
|
||||
|
||||
#network,
|
||||
#tray {
|
||||
padding: 1px 6px;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
#backlight-slider,
|
||||
#pulseaudio-slider {
|
||||
padding: 0 7px 0 2px;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#bluetooth,
|
||||
#battery,
|
||||
#memory,
|
||||
#temperature,
|
||||
#cpu,
|
||||
#mpris,
|
||||
#window,
|
||||
#load {
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
#right,
|
||||
#left,
|
||||
#right-hidden-top,
|
||||
#left-hidden-top,
|
||||
#clock {
|
||||
padding: 2px 10px;
|
||||
border-radius: 15px;
|
||||
background: @module-bg;
|
||||
border: 1px solid @border;
|
||||
}
|
||||
|
||||
#right-hidden-top,
|
||||
#left-hidden-top {
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
#right, #left {
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
padding: 2px 18px;
|
||||
}
|
||||
|
||||
#custom-ctlcenter {
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
#power-profiles-daemon,
|
||||
#custom-start {
|
||||
margin-right: 7px;
|
||||
}
|
||||
|
||||
#cpu.critical,
|
||||
#memory.critical,
|
||||
#battery.critical,
|
||||
#network.disabled,
|
||||
#temperature.critical,
|
||||
#network.disconnected,
|
||||
#power-profiles-daemon.performance {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#cpu.warning,
|
||||
#memory.warning,
|
||||
#battery.warning,
|
||||
#temperature.warning {
|
||||
color: @yellow;
|
||||
background: unset;
|
||||
}
|
||||
|
||||
#power-profiles-daemon.power-saver {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
#custom-start,
|
||||
#custom-ctlcenter {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: @workspace-fg;
|
||||
font-size: 14px;
|
||||
border-radius: 100%;
|
||||
padding: 0 2px;
|
||||
margin: 0 3px;
|
||||
min-width: 16px;
|
||||
}
|
||||
/*
|
||||
#workspaces button.empty:not(.active) {
|
||||
color: @inactive;
|
||||
} */
|
||||
|
||||
#workspaces button:hover {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#mpris.paused {
|
||||
color: @inactive;
|
||||
}
|
||||
|
||||
/* ---<==== Misc ====>--- */
|
||||
|
||||
tooltip,
|
||||
tooltip.background {
|
||||
background-image: none;
|
||||
border-radius: 15px;
|
||||
background: @tooltip-bg;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
border: 1px solid @border;
|
||||
}
|
||||
|
||||
tooltip label {
|
||||
padding: 3px 10px;
|
||||
color: @fg;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.popup > * {
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
menu {
|
||||
font-weight: 700;
|
||||
color: @fg;
|
||||
background: @tooltip-bg;
|
||||
border: 1px solid @border;
|
||||
}
|
||||
|
||||
menu > * {
|
||||
padding: 3px 0px;
|
||||
min-width: 5px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
menu > *:last-child {
|
||||
border-radius: 0 0 14px 14px;
|
||||
}
|
||||
|
||||
menu > *:first-child {
|
||||
border-radius: 14px 14px 0 0;
|
||||
}
|
||||
|
||||
menu > *:last-child:first-child {
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
menu > *:hover {
|
||||
background-color: @highlight;
|
||||
color: @fg;
|
||||
}
|
||||
|
||||
/* Sliders */
|
||||
|
||||
slider {
|
||||
opacity: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
trough {
|
||||
min-width: 50px;
|
||||
min-height: 5px;
|
||||
border-radius: 8px;
|
||||
background: @inactive;
|
||||
}
|
||||
|
||||
trough highlight {
|
||||
border-radius: 8px;
|
||||
background-color: @fg;
|
||||
background-image: none; /* Some gtk themes set an svg for background. */
|
||||
}
|
||||
Reference in New Issue
Block a user