From 1393b787bdeb0212a628fb2c97ff913420b2f140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Mon, 7 Nov 2022 17:14:24 +0300 Subject: waybar: update and clean css after waybar update --- dotfiles/.config/waybar/config | 4 +-- dotfiles/.config/waybar/style.css | 70 ++++++++++++++------------------------- 2 files changed, 26 insertions(+), 48 deletions(-) diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config index 4cdc881..980201c 100644 --- a/dotfiles/.config/waybar/config +++ b/dotfiles/.config/waybar/config @@ -32,7 +32,7 @@ }, "custom/waybar-mpris": { "return-type": "json", - "exec": "waybar-mpris --position --autofocus --order=\"SYMBOL:ARTIST:TITLE:POSITION\" --pause=' ' --play=' '", + "exec": "waybar-mpris --position --autofocus --order=\"SYMBOL:ARTIST:TITLE:POSITION\" --pause='' --play=''", "on-click": "waybar-mpris --send toggle", "on-click-right": "waybar-mpris --send player-next" }, @@ -173,7 +173,7 @@ "car": "", "default": ["", "", ""] }, - "on-click": "alacritty -e ncpamixer" + "on-click": "$TERMINAL -e ncpamixer" }, "custom/rec-status": { "format": "{}", diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css index 7422deb..3d6a057 100644 --- a/dotfiles/.config/waybar/style.css +++ b/dotfiles/.config/waybar/style.css @@ -1,36 +1,11 @@ * { - font-size: 11px; - font-family: monospace; + font-size: 11px; + font-family: monospace; } window#waybar { - background: #000000; - color: #faf6e5; - min-height: 0; -} -#custom-right-arrow-cyan, #custom-left-arrow-cyan { - color: #89b699; - font-size: 20px; -} -#custom-right-arrow-black, #custom-left-arrow-black { - color: #000000; - font-size: 20px; -} -#custom-left-arrow-gray { - color: #191919; - background: #89b699; - font-size: 20px; -} -#custom-right-arrow-black { - background: #89b699; -} -#custom-left-arrow-black { - background: #191919; -} -#custom-left-decorator-black, -#custom-right-decorator-black { - font-size: 27px; - background: rgba(27, 30, 37, 0.95); - color: #000000; + background: #000000; + color: #fdf6e3; + min-height: 0; } #tray, #battery, @@ -38,33 +13,34 @@ window#waybar { #backlight, #custom-torrent-status, #workspaces { - background: #232328; - border-top: 2px solid #000000; - border-bottom: 2px solid #000000; + background: #232328; + border-top: 2px solid #000000; + border-bottom: 2px solid #000000; } #memory.warning { color: #b2872f; } #workspaces { - padding: 0; + padding: 0; + margin-right: 6px; } #workspaces button { - padding: 0 6px; - color: #fdf6e3; - border-radius: 0; - border: 1px solid rgba(0, 0, 0, 0); + padding: 0 6px; + color: #fdf6e3; + border-radius: 0; + border: 1px solid rgba(0, 0, 0, 0); } #workspaces button.visible { - color: #5b8277; - border-color: #5b8277; + color: #5b8277; + border-color: #5b8277; } #workspaces button.focused { - color: #000000; - border-color: #5b8277; - background: #5b8277; + color: #000000; + border-color: #5b8277; + background: #5b8277; } #workspaces button:hover { - border: 1px solid #5b8277; + border: 1px solid #5b8277; } #mpd, #tray, @@ -82,9 +58,11 @@ window#waybar { #custom-pac-status, #custom-mail-status, #custom-news-status, +#custom-waybar-mpris, #custom-torrent-status { - padding: 0 6px; + color: #fdf6e3; + padding: 0 6px; } #custom-weather { - color: #5b8277; + color: #5b8277; } -- cgit v1.2.3