From 03d5f1e7cb38859477089b88737a40950ea28843 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Wed, 2 Aug 2023 10:42:52 +0200 Subject: added wireguard module to waybar --- config/hyprland/waybar/config.jsonc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'config/hyprland/waybar/config.jsonc') diff --git a/config/hyprland/waybar/config.jsonc b/config/hyprland/waybar/config.jsonc index 816a851..aadc6d3 100644 --- a/config/hyprland/waybar/config.jsonc +++ b/config/hyprland/waybar/config.jsonc @@ -2,7 +2,7 @@ "layer": "top", "modules-left": ["battery", "clock", "wlr/workspaces", "mpd"], "modules-center": ["hyprland/window"], - "modules-right": ["network", "pulseaudio", "temperature", "cpu", "custom/memory", "tray"], + "modules-right": ["custom/wireguard", "network", "pulseaudio", "temperature", "cpu", "custom/memory", "tray"], "wlr/workspaces": { "on-click": "activate", }, @@ -44,6 +44,11 @@ "default":["", "", "", "", ""] }, }, + "custom/wireguard": { + "exec": "ip addr show dev wg0", + "format": "wg0", + "restart-interval": 3, + }, "network": { "format-wifi": " ", "tooltip-format-wifi": "{ifname} {essid}", -- cgit v1.2.3