aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-11-07 17:14:24 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-11-07 17:17:58 +0300
commit1393b787bdeb0212a628fb2c97ff913420b2f140 (patch)
tree228368b62bf77588038dd73765468f6f5a648196
parentea60c5f82509808317681de204f5d3ddf7cb360c (diff)
downloadswayrice-1393b787bdeb0212a628fb2c97ff913420b2f140.tar.gz
swayrice-1393b787bdeb0212a628fb2c97ff913420b2f140.zip
waybar: update and clean css after waybar update
-rw-r--r--dotfiles/.config/waybar/config4
-rw-r--r--dotfiles/.config/waybar/style.css70
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=' <span color=\\\"#5b8277\\\"></span>' --play=' <span color=\\\"#b2872f\\\"></span>'",
+ "exec": "waybar-mpris --position --autofocus --order=\"SYMBOL:ARTIST:TITLE:POSITION\" --pause='<span color=\\\"#5b8277\\\"></span>' --play='<span color=\\\"#b2872f\\\"></span>'",
"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": "<span color=\"#5b8277\">{}</span>",
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;
}