Update waybar appearance

This commit is contained in:
Andrew Scott 2023-06-15 04:11:05 -04:00
parent 4708e64813
commit 528787c678
Signed by: a
GPG key ID: 7CD5A5977E4931C1
2 changed files with 108 additions and 118 deletions

View file

@ -60,6 +60,7 @@
},
"clock": {
"format": "{:%H:%M}",
"timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
@ -67,7 +68,7 @@
"cpu": {
"format": "{usage}% ",
"tooltip": false
"tooltip": true
},
"memory": {
@ -109,7 +110,7 @@
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
// "interface": "wlan0",
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ",
@ -119,7 +120,7 @@
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"scroll-step": 1,
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
@ -135,21 +136,7 @@
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
}
}

View file

@ -1,19 +1,19 @@
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
font-family: FontAwesome, Hack, monospace;
font-size: 12px;
}
window#waybar {
background-color: rgba(43, 48, 59, 0.5);
background-color: rgba(50, 61, 67, 0.8);
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
color: #ffffff;
color: #d0bf9b;
transition-property: background-color;
transition-duration: .5s;
transition-duration: 0.5s;
}
window#waybar.hidden {
opacity: 0.2;
opacity: 0.8;
}
/*
@ -21,16 +21,16 @@ window#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
background-color: #FFFFFF;
background-color: #4a555b;
}
*/
window#waybar.termite {
background-color: #3F3F3F;
background-color: #3f3f3f;
}
window#waybar.chromium {
background-color: #000000;
background-color: #d8caac;
border: none;
}
@ -45,13 +45,13 @@ button {
/* 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;
box-shadow: inset 0 -3px #4a555b;
}
#workspaces button {
padding: 0 5px;
background-color: transparent;
color: #ffffff;
color: #4a555b;
}
#workspaces button:hover {
@ -59,8 +59,8 @@ button:hover {
}
#workspaces button.focused {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
background-color: #64727d;
box-shadow: inset 0 -3px #4a555b;
}
#workspaces button.urgent {
@ -68,8 +68,8 @@ button:hover {
}
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
background-color: #64727d;
border-bottom: 3px solid #4a555b;
}
#clock,
@ -89,7 +89,7 @@ button:hover {
#scratchpad,
#mpd {
padding: 0 10px;
color: #ffffff;
color: #4a555b;
}
#window,
@ -108,29 +108,31 @@ button:hover {
}
#clock {
background-color: #64727D;
background-color: #6eb2a9;
color: #4a555b;
}
#battery {
background-color: #ffffff;
color: #000000;
background-color: #4a555b;
color: #d8caac;
}
#battery.charging, #battery.plugged {
color: #ffffff;
background-color: #26A65B;
#battery.charging,
#battery.plugged {
color: #4a555b;
background-color: #26a65b;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
background-color: #4a555b;
color: #d8caac;
}
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
color: #4a555b;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
@ -139,20 +141,20 @@ button:hover {
}
label:focus {
background-color: #000000;
background-color: #d8caac;
}
#cpu {
background-color: #2ecc71;
color: #000000;
background-color: #9bb86f;
color: #4a555b;
}
#memory {
background-color: #9b59b6;
background-color: #cf87a9;
}
#disk {
background-color: #964B00;
background-color: #964b00;
}
#backlight {
@ -160,7 +162,7 @@ label:focus {
}
#network {
background-color: #2980b9;
background-color: #7fbbb3;
}
#network.disconnected {
@ -168,8 +170,8 @@ label:focus {
}
#pulseaudio {
background-color: #f1c40f;
color: #000000;
background-color: #d5b26b;
color: #4a555b;
}
#pulseaudio.muted {
@ -179,7 +181,7 @@ label:focus {
#wireplumber {
background-color: #fff0f5;
color: #000000;
color: #d8caac;
}
#wireplumber.muted {
@ -201,7 +203,7 @@ label:focus {
}
#temperature {
background-color: #f0932b;
background-color: #e2966c;
}
#temperature.critical {
@ -209,7 +211,7 @@ label:focus {
}
#tray {
background-color: #2980b9;
background-color: #323d43;
}
#tray > .passive {
@ -218,16 +220,17 @@ label:focus {
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
background-color: #e26c6e;
}
#idle_inhibitor {
background-color: #2d3436;
background-color: #525c62;
color: #d0bf9b;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
background-color: #d0bf9b;
color: #525c62;
}
#mpd {
@ -256,10 +259,10 @@ label:focus {
}
#keyboard-state {
background: #97e1ad;
color: #000000;
background: #72b783;
color: #4a555b;
padding: 0 0px;
margin: 0 5px;
margin: 0 0px;
min-width: 16px;
}