aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/waybar
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-09-20 01:42:33 +0300
committerYaroslav <contact@yaroslavps.com>2020-09-20 14:09:49 +0300
commitbaaf7a13b74e7873aaf3598adb5da85c55f585a7 (patch)
tree52574bceb8b14e17229c27cc21ce59e2497e9d45 /dotfiles/.config/waybar
parentacce3397aaf5eb38312b2e232b7864f7a1d0a26b (diff)
downloadswayrice-baaf7a13b74e7873aaf3598adb5da85c55f585a7.tar.gz
swayrice-baaf7a13b74e7873aaf3598adb5da85c55f585a7.zip
Minor changes to colorscheme/appearance
Diffstat (limited to 'dotfiles/.config/waybar')
-rw-r--r--dotfiles/.config/waybar/config51
-rw-r--r--dotfiles/.config/waybar/style.css74
2 files changed, 61 insertions, 64 deletions
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": "<span color=\"#b2872f\"></span>",
@@ -98,11 +96,11 @@
"format-charging": " <span color=\"#5b8277\"></span> {capacity}%",
"format-plugged": "<span color=\"#5b8277\"></span> {capacity}%",
"format-icons": [
- "<span color=\"#b73030\"></span>",
- "<span color=\"#b2872f\"></span>",
- "<span color=\"#5b8277\"></span>",
- "<span color=\"#5b8277\"></span>",
- "<span color=\"#5b8277\"></span>"
+ "<span color=\"#b73030\"></span>",
+ "<span color=\"#b2872f\"></span>",
+ "<span color=\"#5b8277\"></span>",
+ "<span color=\"#b2872f\"></span>",
+ "<span color=\"#5b8277\"></span>"
]
},
"battery#bat1": {
@@ -111,19 +109,19 @@
"format-charging": " <span color=\"#5b8277\"></span> {capacity}%",
"format-plugged": "<span color=\"#5b8277\"></span> {capacity}%",
"format-icons": [
- "<span color=\"#b73030\"></span>",
- "<span color=\"#b2872f\"></span>",
- "<span color=\"#5b8277\"></span>",
- "<span color=\"#5b8277\"></span>",
- "<span color=\"#5b8277\"></span>"
+ "<span color=\"#b73030\"></span>",
+ "<span color=\"#b2872f\"></span>",
+ "<span color=\"#5b8277\"></span>",
+ "<span color=\"#b2872f\"></span>",
+ "<span color=\"#5b8277\"></span>"
]
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
- "format-wifi": "<span color=\"#5b8277\"></span> {essid}",
- "format-ethernet": "<span color=\"#5b8277\"></span> {ifname}",
- "format-linked": "<span color=\"#5b8277\"></span> {ifname}",
- "format-disconnected": "<span color=\"#b73030\">⚠</span> Disconnected",
+ "format-wifi": "<span color=\"#5b8277\"></span> {essid}",
+ "format-ethernet": "<span color=\"#5b8277\"></span> {ifname}",
+ "format-linked": "<span color=\"#5b8277\"></span> {ifname}",
+ "format-disconnected": "<span color=\"#5b8277\">⚠</span> Disconnected",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}"
},
@@ -152,7 +150,7 @@
"scroll-step": 5, // %, can be a float
"format": "<span color=\"#5b8277\">{icon}</span> {volume}%",
"format-bluetooth": "<span color=\"#5b8277\">{icon}</span> {volume}% {format_source}",
- "format-muted": "<span color=\"#b73030\"></span>",
+ "format-muted": "<span color=\"#b2872f\"></span>",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
@@ -167,7 +165,7 @@
"on-click": "termite -e ncpamixer"
},
"custom/rec-status": {
- "format": "<span color=\"#b73030\">{}</span>",
+ "format": "<span color=\"#5b8277\">{}</span>",
"signal": 5,
"interval": "once",
"exec": "barrecstatus"
@@ -184,14 +182,14 @@
"tooltip": false
},
"custom/pac-status": {
- "format": "<span color=\"#5b8277\"></span> {}",
+ "format": "<span color=\"#5b8277\"></span> {}",
"signal": 7,
"interval": "once",
"exec": "barpacstatus",
"tooltip": false
},
"custom/news-status": {
- "format": "<span color=\"#5b8277\"></span> {}",
+ "format": "<span color=\"#5b8277\"></span> {}",
"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;
}