From e5532752993f463524e0c89d5e82b5a84a77759b Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Mon, 3 Feb 2020 00:01:16 +0300 Subject: load gtk settings on sway start, vpn shortcut and waybar indicator --- dotfiles/.config/waybar/config | 15 ++++++++++++--- dotfiles/.config/waybar/style.css | 3 ++- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'dotfiles/.config/waybar') 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": "{}", "signal": 5, - "exec": "i3barrecstatus" + "interval": "once", + "exec": "barrecstatus" + }, + "custom/vpn-status": { + "format": "{}", + "signal": 6, + "interval": "once", + "exec": "barvpnstatus" }, "custom/weather": { "format": "{}", "interval": 900, - "exec": "i3barweather" + "exec": "barweather" }, "custom/swaykbd": { "format": " {}", 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; -- cgit v1.2.3