Switch to Sway
This commit is contained in:
313
dotfiles/.config/waybar/style.css
Normal file
313
dotfiles/.config/waybar/style.css
Normal file
@@ -0,0 +1,313 @@
|
||||
@define-color base-darker rgba(30, 31, 41, 230);
|
||||
@define-color base #282a36;
|
||||
@define-color selection #44475a;
|
||||
@define-color foreground #f8f8f2;
|
||||
@define-color comment #6272a4;
|
||||
@define-color cyan #8be9fd;
|
||||
@define-color green #50fa7b;
|
||||
@define-color orange #ffb86c;
|
||||
@define-color pink #ff79c6;
|
||||
@define-color purple #bd93f9;
|
||||
@define-color red #ff5555;
|
||||
@define-color yellow #f1fa8c;
|
||||
|
||||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: "JetBrainsMono Nerd Font", "Material Design Icons";
|
||||
font-size: 14px;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#window {
|
||||
color: @pink;
|
||||
background: @base;
|
||||
transition-property: background-color;
|
||||
border-radius: 100px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
#waybar.empty #window {
|
||||
background: none;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/*
|
||||
window#waybar.empty {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
window#waybar.solo {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
*/
|
||||
|
||||
button {
|
||||
margin-right: 5px;
|
||||
/* Avoid rounded borders under each button name */
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background: @base;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
color: @pink;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
border-radius: 100px;
|
||||
background: @base;
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
border: none;
|
||||
background-color: @base;
|
||||
color: @foreground;
|
||||
transition: 0.2s;
|
||||
padding-left: 0;
|
||||
padding-right: 4px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: @orange;
|
||||
background: @base;
|
||||
transition: 0.2s;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background: @base;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background: @red;
|
||||
box-shadow: inset 0px 0px 0px 3px @base;
|
||||
text-shadow: none;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background: @base;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#custom-media,
|
||||
#tray,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
#scratchpad,
|
||||
#mpd,
|
||||
#language,
|
||||
#keyboard-state,
|
||||
#custom-power {
|
||||
padding-left: 15px;
|
||||
padding-right: 18px;
|
||||
background-color: @base;
|
||||
border-radius: 100px;
|
||||
}
|
||||
|
||||
#window,
|
||||
#workspaces {
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.modules-left>widget:first-child>#workspaces {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* If workspaces is the rightmost module, omit right margin */
|
||||
.modules-right>widget:last-child>#workspaces {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: @orange;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
color: @orange;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: @purple;
|
||||
}
|
||||
|
||||
#battery.charging,
|
||||
#battery.plugged {
|
||||
color: @orange;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: @base;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: @red;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
label:focus {
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: @purple;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @purple;
|
||||
}
|
||||
|
||||
#disk {
|
||||
color: @purple;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
color: @pink;
|
||||
}
|
||||
|
||||
#network {
|
||||
color: @cyan;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#wireplumber {
|
||||
color: @pink;
|
||||
}
|
||||
|
||||
#wireplumber.muted {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#custom-media {
|
||||
color: @purple;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
#custom-media.custom-spotify {
|
||||
color: @purple;
|
||||
}
|
||||
|
||||
#custom-media.custom-vlc {
|
||||
color: @purple;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
color: @purple;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
color: @base;
|
||||
background: @red;
|
||||
box-shadow: inset 0px 0px 0px 3px @base;
|
||||
}
|
||||
|
||||
#tray {
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#tray>.passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray>.needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
background-color: @red;
|
||||
box-shadow: inset 0px 0px 0px 3px @base;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
#mpd {
|
||||
background-color: #66cc99;
|
||||
color: @purple;
|
||||
}
|
||||
|
||||
#mpd.disconnected {
|
||||
background-color: #f53c3c;
|
||||
}
|
||||
|
||||
#mpd.stopped {
|
||||
background-color: #90b1b1;
|
||||
}
|
||||
|
||||
#mpd.paused {
|
||||
background-color: #51a37a;
|
||||
}
|
||||
|
||||
#language {
|
||||
color: @orange;
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#keyboard-state {
|
||||
color: @orange;
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#keyboard-state>label {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#keyboard-state>label.locked {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#scratchpad {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#scratchpad.empty {
|
||||
background-color: transparent;
|
||||
}
|
||||
Reference in New Issue
Block a user