💄 modify colors, new widget
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
@define-color red #f38ba8;
|
||||
@define-color maroon #eba0ac;
|
||||
@define-color peach #fab387;
|
||||
@define-color yellow #f9e2af;
|
||||
@define-color yellow alpha(#f9e2af, .8);
|
||||
@define-color green #a6e3a1;
|
||||
@define-color teal #94e2d5;
|
||||
@define-color sky #89dceb;
|
||||
@@ -24,3 +24,9 @@
|
||||
@define-color base #1e1e2e;
|
||||
@define-color mantle #181825;
|
||||
@define-color crust #11111b;
|
||||
|
||||
@define-color background alpha(@base, .6);
|
||||
@define-color bar shade(@yellow, .2);
|
||||
@define-color hover shade(@yellow, .5);
|
||||
@define-color active shade(@yellow, .55);
|
||||
@define-color highlight shade(@yellow, .4);
|
||||
+25
-91
@@ -1,7 +1,5 @@
|
||||
|
||||
@import "mocha.css";
|
||||
|
||||
@define-color hover shade(@blue, .5);
|
||||
@import "_colors.css";
|
||||
|
||||
* {
|
||||
color: @text;
|
||||
@@ -21,10 +19,7 @@ window > * {
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
window > * {
|
||||
background: alpha(@base, .8);
|
||||
background: @bar;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
@@ -32,32 +27,15 @@ window#waybar {
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: .1;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/*window#waybar.empty {
|
||||
background-color: transparent;
|
||||
}
|
||||
window#waybar.solo {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
window#waybar.termite {
|
||||
background-color: alpha(@base, .1);
|
||||
}
|
||||
window#waybar.chromium {
|
||||
background-color: @base;
|
||||
}*/
|
||||
|
||||
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;
|
||||
background: alpha(@base, .3);
|
||||
background: @background;
|
||||
transition: 120ms ease-in;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
button:hover {
|
||||
background-color: @hover;
|
||||
}
|
||||
@@ -93,12 +71,21 @@ widget > *:hover:not(#window):not(#workspaces):not(#tray):not(#custom-media) {
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
#workspaces button *:hover {
|
||||
background: @base;
|
||||
#workspaces button label {
|
||||
margin-top: .2px;
|
||||
margin-left: .1px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @hover;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background: alpha(shade(@blue, .5), .6);
|
||||
background: @active;
|
||||
}
|
||||
|
||||
#workspaces button.active label {
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
@@ -106,16 +93,11 @@ widget > *:hover:not(#window):not(#workspaces):not(#tray):not(#custom-media) {
|
||||
}
|
||||
|
||||
#custom-notifications {
|
||||
background: alpha(@base, .3);
|
||||
font-size: 16px;
|
||||
padding-left: 10px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
#custom-notifications:hover {
|
||||
background: alpha(@blue, .5);
|
||||
}
|
||||
|
||||
#clock,
|
||||
#battery,
|
||||
#cpu,
|
||||
@@ -142,13 +124,11 @@ widget > *:hover:not(#window):not(#workspaces):not(#tray):not(#custom-media) {
|
||||
#workspaces {}
|
||||
*/
|
||||
|
||||
#clock {
|
||||
background-color: alpha(@base, .3);
|
||||
}
|
||||
|
||||
#battery {
|
||||
background-color: alpha(@base, .3);
|
||||
color: @text;
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: alpha(@crust, .3);
|
||||
color: @orange;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.charging, #battery.plugged {
|
||||
@@ -160,13 +140,6 @@ widget > *:hover:not(#window):not(#workspaces):not(#tray):not(#custom-media) {
|
||||
background-color: alpha(@blue, .35);
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: alpha(@crust, .3);
|
||||
color: @orange;
|
||||
}
|
||||
}
|
||||
|
||||
/* Using steps() instead of linear as a timing function to limit cpu usage */
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: alpha(shade(@orange, 0.5), .3);
|
||||
@@ -178,53 +151,18 @@ widget > *:hover:not(#window):not(#workspaces):not(#tray):not(#custom-media) {
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
label:focus {
|
||||
background-color: shade(@blue, 0.4);
|
||||
#custom-media {
|
||||
background: @highlight;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#memory {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
#disk {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
background-color: alpha(@base, .3);
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#wireplumber {
|
||||
background-color: alpha(@base, .3);
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#custom-media.custom-spotify {
|
||||
background-color: alpha(shade(@green, .65), .3);
|
||||
}
|
||||
|
||||
#custom-media.custom-spotify:hover {
|
||||
background: alpha(@green, .3);
|
||||
}
|
||||
|
||||
#temperature {
|
||||
background-color: alpha(@base, .3);
|
||||
#custom-media:hover {
|
||||
background: @hover;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
background-color: alpha(@red, .3);
|
||||
}
|
||||
|
||||
#tray {
|
||||
background-color: alpha(@base, .3);
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
@@ -234,10 +172,6 @@ label:focus {
|
||||
background: alpha(@orange, .3);
|
||||
}
|
||||
|
||||
#scratchpad {
|
||||
background: alpha(@base, .3);
|
||||
}
|
||||
|
||||
#scratchpad.empty {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user