From baaf7a13b74e7873aaf3598adb5da85c55f585a7 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Sun, 20 Sep 2020 01:42:33 +0300 Subject: Minor changes to colorscheme/appearance --- dotfiles/.config/waybar/config | 51 ++++++++++----------------- dotfiles/.config/waybar/style.css | 74 ++++++++++++++++++++++----------------- 2 files changed, 61 insertions(+), 64 deletions(-) (limited to 'dotfiles/.config/waybar') diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config index c243528..59daa82 100644 --- a/dotfiles/.config/waybar/config +++ b/dotfiles/.config/waybar/config @@ -5,7 +5,6 @@ "modules-left": [ "sway/workspaces", "sway/mode", - "custom/left-decorator-black", "mpd", "pulseaudio" ], @@ -25,7 +24,6 @@ "backlight", "battery#bat0", "battery#bat1", - "custom/right-decorator-black", "tray" ], "sway/mode": { @@ -48,7 +46,7 @@ "on": " " }, "single-icons": { - "on": "1 " + "on": "[s]" }, "state-icons": { "paused": "", @@ -98,11 +96,11 @@ "format-charging": " {capacity}%", "format-plugged": " {capacity}%", "format-icons": [ - "", - "", - "", - "", - "" + "", + "", + "", + "", + "" ] }, "battery#bat1": { @@ -111,19 +109,19 @@ "format-charging": " {capacity}%", "format-plugged": " {capacity}%", "format-icons": [ - "", - "", - "", - "", - "" + "", + "", + "", + "", + "" ] }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface - "format-wifi": " {essid}", - "format-ethernet": " {ifname}", - "format-linked": " {ifname}", - "format-disconnected": " Disconnected", + "format-wifi": " {essid}", + "format-ethernet": " {ifname}", + "format-linked": " {ifname}", + "format-disconnected": " Disconnected", "format-alt": "{ifname}: {ipaddr}/{cidr}", "tooltip-format": "{ifname}: {ipaddr}/{cidr}" }, @@ -152,7 +150,7 @@ "scroll-step": 5, // %, can be a float "format": "{icon} {volume}%", "format-bluetooth": "{icon} {volume}% {format_source}", - "format-muted": "", + "format-muted": "", "format-source": "{volume}% ", "format-source-muted": "", "format-icons": { @@ -167,7 +165,7 @@ "on-click": "termite -e ncpamixer" }, "custom/rec-status": { - "format": "{}", + "format": "{}", "signal": 5, "interval": "once", "exec": "barrecstatus" @@ -184,14 +182,14 @@ "tooltip": false }, "custom/pac-status": { - "format": " {}", + "format": " {}", "signal": 7, "interval": "once", "exec": "barpacstatus", "tooltip": false }, "custom/news-status": { - "format": " {}", + "format": " {}", "signal": 8, "interval": "once", "exec": "barnewsstatus", @@ -212,15 +210,4 @@ "exec": "swaykbd", "tooltip": false }, - "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 - } } diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css index 600bab1..077b1f9 100644 --- a/dotfiles/.config/waybar/style.css +++ b/dotfiles/.config/waybar/style.css @@ -1,60 +1,70 @@ * { - font-size: 11px; - font-family: "monospace"; - min-height: 0; + font-size: 11px; + font-family: monospace; } window#waybar { - background: rgba(27, 30, 37, 1); - color: #e5e9f0; - min-height: 0; + background: #000000; + color: #e5e9f0; + min-height: 0; } #custom-right-arrow-cyan, #custom-left-arrow-cyan { - color: #89b699; - font-size: 20px; + color: #89b699; + font-size: 20px; } #custom-right-arrow-black, #custom-left-arrow-black { - color: #000000; - font-size: 20px; + color: #000000; + font-size: 20px; } #custom-left-arrow-gray { - color: #191919; - background: #89b699; - font-size: 20px; + color: #191919; + background: #89b699; + font-size: 20px; } #custom-right-arrow-black { - background: #89b699; + background: #89b699; } #custom-left-arrow-black { - background: #191919; + background: #191919; } #custom-left-decorator-black, #custom-right-decorator-black { - font-size: 20px; - background: rgba(27, 30, 37, 0.95); - color: #000000; + font-size: 27px; + background: rgba(27, 30, 37, 0.95); + color: #000000; } #tray, +#battery, +#network, +#backlight, +#custom-vpn-status, +#workspaces { + background: #1d2021; + border-top: 2px solid #000000; + border-bottom: 2px solid #000000; +} #workspaces { - padding: 0 8px; - background: #000000; + padding: 0; } #workspaces button { - padding: 0 4px; - color: #fdf6e3; + padding: 0 6px; + color: #fdf6e3; + border-radius: 0; + border: 1px solid rgba(0, 0, 0, 0); } -#workspaces button.focused { - color: #5b8277; +#workspaces button.visible { + color: #5b8277; + border-color: #5b8277; } -#workspaces button:hover { - box-shadow: inherit; - text-shadow: inherit; +#workspaces button.focused { + color: #000000; + border-color: #5b8277; + background: #5b8277; } #workspaces button:hover { - border-color: #0C3D27; - border-radius: 0; - background: #0C3D27; + border: 1px solid #5b8277; } #mpd, +#tray, #clock, #battery, #network, @@ -69,8 +79,8 @@ window#waybar { #custom-pac-status, #custom-news-status, #custom-swaykbd { - padding: 0 6px; + padding: 0 6px; } #custom-weather { - color: #5b8277; + color: #5b8277; } -- cgit v1.2.3