diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-02-03 00:01:16 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-02-03 00:01:16 +0300 |
commit | e5532752993f463524e0c89d5e82b5a84a77759b (patch) | |
tree | 0ce47eba97ecd5256d6cd29c86a50ac756b30cc1 /dotfiles/.config/waybar | |
parent | 2cb2af9d66ef98877ffee2f588c7a85036750d55 (diff) | |
download | swayrice-e5532752993f463524e0c89d5e82b5a84a77759b.tar.gz swayrice-e5532752993f463524e0c89d5e82b5a84a77759b.zip |
load gtk settings on sway start, vpn shortcut and waybar indicator
Diffstat (limited to 'dotfiles/.config/waybar')
-rw-r--r-- | dotfiles/.config/waybar/config | 15 | ||||
-rw-r--r-- | dotfiles/.config/waybar/style.css | 3 |
2 files changed, 14 insertions, 4 deletions
diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config index c543e94..a0aa3a6 100644 --- a/dotfiles/.config/waybar/config +++ b/dotfiles/.config/waybar/config @@ -14,8 +14,10 @@ "custom/weather" ], "modules-right": [ + "custom/rec-status", "custom/swaykbd", "backlight", + "custom/vpn-status", "network", "battery#bat0", "battery#bat1", @@ -159,14 +161,21 @@ "on-click": "termite -e ncpamixer" }, "custom/rec-status": { - "format": "{}", + "format": "<span color=\"#b73030\">{}</span>", "signal": 5, - "exec": "i3barrecstatus" + "interval": "once", + "exec": "barrecstatus" + }, + "custom/vpn-status": { + "format": "<span color=\"#5b8277\">{}</span>", + "signal": 6, + "interval": "once", + "exec": "barvpnstatus" }, "custom/weather": { "format": "{}", "interval": 900, - "exec": "i3barweather" + "exec": "barweather" }, "custom/swaykbd": { "format": "<span color=\"#5b8277\"></span> {}", diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css index 44bae1e..e066c6a 100644 --- a/dotfiles/.config/waybar/style.css +++ b/dotfiles/.config/waybar/style.css @@ -63,8 +63,9 @@ window#waybar { #temperature, #custom-weather, #custom-rec-status, +#custom-vpn-status, #custom-swaykbd { - padding: 0 8px; + padding: 0 6px; } #custom-weather { color: #5b8277; |