Browse Source

waybar style tweak

pull/3/head
JaKooLit 2 years ago
parent
commit
01588689e1
  1. 637
      config/waybar/style/style-default.css
  2. 6
      config/waybar/style/style-default_alter.css

637
config/waybar/style/style-default.css

@ -1,320 +1,321 @@
*{ *{
font-family: "JetBrainsMono Nerd Font"; font-family: "JetBrainsMono Nerd Font";
font-weight: bold; font-weight: bold;
min-height: 0; min-height: 0;
/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ /* set font-size to 100% if font scaling is set to 1.00 using nwg-look */
font-size: 98%; font-size: 98%;
font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
padding: 0px;
margin-top: 1px;
margin-bottom: 1px;
}
window#waybar {
/* background-color: rgba(26, 27, 38, 0.5); */
background-color: transparent;
color: #ffffff;
transition-property: background-color;
transition-duration: 0.5s;
/* border-top: 8px transparent; */
border-radius: 0px;
transition-duration: 0.5s;
margin: 0px 0px;
}
window#waybar.empty {
background-color: transparent;
}
window#waybar.empty #window {
padding: 0px; padding: 0px;
margin: 0px; margin-top: 1px;
border: 0px; margin-bottom: 1px;
/* background-color: rgba(66,66,66,0.5); */ /* transparent */ }
background-color: transparent;
}
window#waybar {
window#waybar.hidden { /* background-color: rgba(26, 27, 38, 0.5); */
opacity: 0.1; background-color: transparent;
} color: #ffffff;
transition-property: background-color;
tooltip { transition-duration: 0.5s;
background: #1e1e2e; /* border-top: 8px transparent; */
opacity: 0.8; border-radius: 0px;
border-radius: 10px; transition-duration: 0.5s;
border-width: 2px; margin: 0px 0px;
border-style: solid; }
border-color: #11111b; window#waybar.empty {
} background-color: transparent;
}
tooltip label{ window#waybar.empty #window {
color: #cdd6f4; padding: 0px;
} margin: 0px;
#workspaces button { border: 0px;
padding: 0 0px; /* background-color: rgba(66,66,66,0.5); */ /* transparent */
color: #7984a4; background-color: transparent;
background-color: transparent; }
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent; window#waybar.hidden {
/* Avoid rounded borders under each workspace name */ opacity: 0.1;
border: none; }
border-radius: 0;
} tooltip {
background: #1e1e2e;
#workspaces button.focused { opacity: 0.8;
background-color: transparent; border-radius: 10px;
} border-width: 2px;
#workspace button.hover { border-style: solid;
background-color: transparent; border-color: #11111b;
} }
#workspaces button.active {
color: white; tooltip label{
} color: #cdd6f4;
}
#workspaces button.urgent { #workspaces button {
background-color: #eb4d4b; padding: 0 0px;
} color: #7984a4;
background-color: transparent;
#clock, /* Use box-shadow instead of border so the text isn't offset */
#battery, box-shadow: inset 0 -3px transparent;
#cpu, /* Avoid rounded borders under each workspace name */
#memory, border: none;
#disk, border-radius: 0;
#temperature, }
#backlight,
#network, #workspaces button.focused {
#pulseaudio, background-color: transparent;
#wireplumber, }
#mode, #workspace button.hover {
#tray, background-color: transparent;
#idle_inhibitor, }
#keyboard-state, #workspaces button.active {
#mpd, color: white;
#cava, }
#bluetooth,
#taskbar, #workspaces button.urgent {
#workspaces, background-color: #eb4d4b;
#custom-light_dark, }
#custom-updater,
#custom-power, #clock,
#custom-lock, #battery,
#custom-weather, #cpu,
#window, #memory,
#custom-weather.severe, #disk,
#custom-weather.sunnyDay, #temperature,
#custom-weather.clearNight, #backlight,
#custom-weather.cloudyFoggyDay, #network,
#custom-weather.cloudyFoggyNight, #pulseaudio,
#custom-weather.rainyDay, #wireplumber,
#custom-weather.rainyNight, #mode,
#custom-weather.showyIcyDay, #tray,
#custom-weather.snowyIcyNight, #idle_inhibitor,
#custom-weather.default { #keyboard-state,
padding: 0px 10px; #mpd,
color: #e5e5e5; #cava,
/* color: #bf616a; */ #bluetooth,
border-radius: 8px; #taskbar,
background-color: rgba(50, 50, 50, 0.1); #workspaces,
border: 1px solid #b4befe; #custom-light_dark,
} #custom-updater,
#custom-power,
#workspaces { #custom-lock,
border-radius: 6px; #custom-weather,
padding: 0px 10px; #window,
border: 1px solid #b4befe; #custom-weather.severe,
} #custom-weather.sunnyDay,
#custom-weather.clearNight,
#cpu { #custom-weather.cloudyFoggyDay,
color: #fb958b; #custom-weather.cloudyFoggyNight,
padding: 3px; #custom-weather.rainyDay,
border-radius: 8px; #custom-weather.rainyNight,
background-color: rgba(50, 50, 50, 0.1); #custom-weather.showyIcyDay,
border: 1px solid #b4befe; #custom-weather.snowyIcyNight,
} #custom-weather.default {
padding: 0px 6px;
#custom-cycle_wall, color: #e5e5e5;
#custom-updater { /* color: #bf616a; */
color: #cba7f7; border-radius: 8px;
padding: 3px; background-color: rgba(50, 50, 50, 0.1);
border-radius: 8px; border: 1px solid #b4befe;
background-color: rgba(50, 50, 50, 0.1); }
border: 1px solid #b4befe;
#workspaces {
} border-radius: 6px;
padding: 0px 6px;
#custom-menu { border: 1px solid #b4befe;
color: #FFFFFF; }
padding: 6px;
padding-right: 10px; #cpu {
border-radius: 8px; color: #fb958b;
background-color: rgba(50, 50, 50, 0.1); padding: 3px;
border: 1px solid #b4befe; border-radius: 8px;
} background-color: rgba(50, 50, 50, 0.1);
border: 1px solid #b4befe;
#memory { }
color: #ebcb8b;
} #custom-cycle_wall,
#custom-updater {
#custom-power { color: #cba7f7;
color: #cc3436; padding: 3px;
} border-radius: 8px;
background-color: rgba(50, 50, 50, 0.1);
#custom-launcher { border: 1px solid #b4befe;
background-color: #1b242b;
color: #6a92d7; }
border-radius: 6px;
padding: 0 0px; #custom-menu {
} color: #FFFFFF;
padding: 6px;
#custom-weather.severe { padding-right: 6px;
color: #eb937d; border-radius: 8px;
} background-color: rgba(50, 50, 50, 0.1);
border: 1px solid #b4befe;
#custom-weather.sunny { }
color: #c2ca76;
} #memory {
color: #ebcb8b;
#custom-weather.clearNight { }
color: #cad3f5;
} #custom-power {
color: #cc3436;
#custom-weather.cloudyFoggyDay, }
#custom-weather.cloudyFoggyNight {
color: #c2ddda; #custom-launcher {
} background-color: #1b242b;
color: #6a92d7;
#custom-weather.rainyDay, border-radius: 6px;
#custom-weather.rainyNight { padding: 0 0px;
color: #5aaca5; }
}
#custom-weather.severe {
#custom-weather.showyIcyDay, color: #eb937d;
#custom-weather.snowyIcyNight { }
color: #d6e7e5;
} #custom-weather.sunny {
color: #c2ca76;
#custom-weather.default { }
color: #ebecf0;
} #custom-weather.clearNight {
color: #cad3f5;
/* If workspaces is the leftmost module, omit left margin */ }
.modules-left > widget:first-child > #workspaces {
margin-left: 0; #custom-weather.cloudyFoggyDay,
} #custom-weather.cloudyFoggyNight {
color: #c2ddda;
/* If workspaces is the rightmost module, omit right margin */ }
.modules-right > widget:last-child > #workspaces {
margin-right: 0; #custom-weather.rainyDay,
} #custom-weather.rainyNight {
color: #5aaca5;
#pulseaudio { }
color: #FFD580;
} #custom-weather.showyIcyDay,
#custom-weather.snowyIcyNight {
#wireplumber { color: #d6e7e5;
color: #FFD580; }
}
#backlight { #custom-weather.default {
/* color: #EBCB8B; */ color: #ebecf0;
color: #8fbcbb; }
}
/* If workspaces is the leftmost module, omit left margin */
#clock { .modules-left > widget:first-child > #workspaces {
color: #90EE90; margin-left: 0;
/* background-color: #14141e; */ }
}
/* If workspaces is the rightmost module, omit right margin */
#battery { .modules-right > widget:last-child > #workspaces {
color: #c0caf5; margin-right: 0;
/* background-color: #90b1b1; */ }
}
#pulseaudio {
#battery.charging, color: #FFD580;
#battery.full, }
#battery.plugged {
color: #26a65b; #wireplumber {
/* background-color: #26a65b; */ color: #FFD580;
} }
#backlight {
@keyframes blink { /* color: #EBCB8B; */
to { color: #8fbcbb;
background-color: rgba(30, 34, 42, 0.5); }
color: #abb2bf;
} #clock {
} color: #90EE90;
/* background-color: #14141e; */
#battery.critical:not(.charging) { }
color: #f53c3c;
animation-name: blink; #battery {
animation-duration: 0.5s; color: #c0caf5;
animation-timing-function: linear; /* background-color: #90b1b1; */
animation-iteration-count: infinite; }
animation-direction: alternate;
} #battery.charging,
#battery.full,
label:focus { #battery.plugged {
background-color: #000000; color: #26a65b;
} /* background-color: #26a65b; */
}
#disk {
color: #f38ba8; @keyframes blink {
} to {
background-color: rgba(30, 34, 42, 0.5);
#bluetooth { color: #abb2bf;
color: #7287fd; }
} }
#bluetooth.disconnected { #battery.critical:not(.charging) {
color: #f53c3c; color: #f53c3c;
} animation-name: blink;
animation-duration: 0.5s;
#network { animation-timing-function: linear;
color: #b48ead; animation-iteration-count: infinite;
} animation-direction: alternate;
}
#network.disconnected {
color: #f53c3c; label:focus {
} background-color: #000000;
}
#custom-media {
background-color: #66cc99; #disk {
color: #2a5c45; color: #f38ba8;
min-width: 100px; }
}
#bluetooth {
#custom-media.custom-spotify { color: #7287fd;
background-color: #66cc99; }
}
#bluetooth.disconnected {
#custom-media.custom-vlc { color: #f53c3c;
background-color: #ffa000; }
}
#network {
#temperature.critical { color: #b48ead;
background-color: #eb4d4b; }
}
#network.disconnected {
#tray > .passive { color: #f53c3c;
-gtk-icon-effect: dim; }
}
#custom-media {
#tray > .needs-attention { background-color: #66cc99;
-gtk-icon-effect: highlight; color: #2a5c45;
background-color: #eb4d4b; min-width: 100px;
} }
#idle_inhibitor { #custom-media.custom-spotify {
/*background-color: #2d3436;*/ background-color: #66cc99;
} }
#idle_inhibitor.activated { #custom-media.custom-vlc {
/*background-color: #ecf0f1;*/ background-color: #ffa000;
color: #2dcc36; }
}
#temperature.critical {
#temperature { background-color: #eb4d4b;
color: #ADD8E6; }
}
#tray > .passive {
#taskbar button.active { -gtk-icon-effect: dim;
background-color: #7f849c; }
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
/*background-color: #2d3436;*/
}
#idle_inhibitor.activated {
/*background-color: #ecf0f1;*/
color: #2dcc36;
}
#temperature {
color: #ADD8E6;
}
#taskbar button.active {
background-color: #7f849c;
}

6
config/waybar/style/style-default_alter.css

@ -132,8 +132,8 @@ tooltip label{
#custom-cycle_wall, #custom-cycle_wall,
#custom-screen_locker, #custom-screen_locker,
#custom-weather { #custom-weather {
padding: 1px 6px 0px 6px; padding: 0px 6px;
margin: 4px 3px 5px 3px; /*margin: 4px 3px 5px 3px;*/
/*color: @fgcolor;*/ /*color: @fgcolor;*/
/* background-color: #bbccdd; */ /* background-color: #bbccdd; */
background-color:transparent; background-color:transparent;
@ -193,7 +193,7 @@ label:focus {
#custom-menu{ #custom-menu{
color: #FFFFFF; color: #FFFFFF;
padding: 3px; /*padding: 3px;*/
} }
#cpu { #cpu {

Loading…
Cancel
Save