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 From 4c7c339845481b7c2e9b630525fd83da988adbb0 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 4 Aug 2023 22:35:01 +0200 Subject: use hyprland/workspaces --- config/hyprland/waybar/config.jsonc | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'config/hyprland/waybar/config.jsonc') diff --git a/config/hyprland/waybar/config.jsonc b/config/hyprland/waybar/config.jsonc index aadc6d3..d2bad38 100644 --- a/config/hyprland/waybar/config.jsonc +++ b/config/hyprland/waybar/config.jsonc @@ -1,10 +1,21 @@ { "layer": "top", - "modules-left": ["battery", "clock", "wlr/workspaces", "mpd"], + "modules-left": ["battery", "clock", "hyprland/workspaces", "mpd"], "modules-center": ["hyprland/window"], "modules-right": ["custom/wireguard", "network", "pulseaudio", "temperature", "cpu", "custom/memory", "tray"], - "wlr/workspaces": { - "on-click": "activate", + "hyprland/workspaces": { + "format": "{icon}", + "format-icons": { + "1": "I", + "2": "II", + "3": "III", + "4": "IV", + "5": "V", + "6": "VI", + "7": "VII", + "8": "VIII", + "9": "IX", + }, }, "mpd": { "tooltip": false, -- cgit v1.2.3