grimm-nixos-laptop/sway/bar/style.css

297 lines
4.3 KiB
CSS
Raw Permalink Normal View History

2024-03-26 14:18:33 +01:00
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 14px;
border-radius: 5px;
margin: 1px 0;
}
window#waybar {
background-color: rgba(35,38,41, 0);
/* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
margin: 2px 0;
padding: 1px 1px;
}
window#waybar.hidden {
opacity: 0.2;
}
/*
window#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
window#waybar.termite {
background-color: #3F3F3F;
}
window#waybar.chromium {
background-color: #000000;
border: none;
}
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;
}
/* 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: 0 2px;
margin: 0 3px;
background-color: #3F3F3F;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
#workspaces button.focused {
background-color: #232629;
/* box-shadow: inset 0 -3px #ffffff; */
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #3F3F3F;
border-bottom: 3px solid #ffffff;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#mpd {
padding: 0 10px;
color: #ffffff;
}
#window,
#workspaces {
margin: 0 4px;
}
/*
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
*/
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #31363b;
}
#clock {
background-color: #31363b;
}
#battery {
background-color: #31363b;
}
#battery.charging, #battery.plugged {
background-color: #31363b;
}
#cpu {
background-color: #31363b;
}
#memory {
background-color: #31363b;
}
#disk {
background-color: #31363b;
}
#backlight {
background-color: #31363b;
}
#network {
background-color: #31363b;
}
#network.disconnected {
background-color: #31363b;
}
#pulseaudio {
background-color: #31363b;
}
#pulseaudio.muted {
background-color: #31363b;
}
#wireplumber {
background-color: #31363b;
}
#wireplumber.muted {
background-color: #31363b;
}
#custom-media {
background-color: #31363b;
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: #31363b;
}
#custom-media.custom-vlc {
background-color: #31363b;
}
#temperature {
background-color: #31363b;
}
#temperature.critical {
background-color: #31363b;
}
#tray {
background-color: #31363b;
}
#idle_inhibitor {
background-color: #31363b;
}
#idle_inhibitor.activated {
background-color: #31363b;
}
#mpd {
background-color: #31363b;
}
#mpd.disconnected {
background-color: #31363b;
}
#mpd.stopped {
background-color: #31363b;
}
#mpd.paused {
background-color: #31363b;
}
#privacy-item {
color: white;
}
#privacy-item.screenshare {
background-color: #31363b;
}
#privacy-item.audio-in {
background-color: #31363b;
}
#privacy-item.audio-out {
background-color: #31363b;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #31363b;
}
#language {
min-width: 16px;
}
#keyboard-state {
background: #31363b;
padding: 0 0px;
min-width: 16px;
}
#keyboard-state > label {
padding: 0 5px;
}
#keyboard-state > label.locked {
background: #232629;
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad.empty {
background-color: transparent;
}
#privacy {
padding: 0;
}