From e8fbc3a1652f74099e52ef94190cbcca064aa859 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 16 Apr 2023 21:30:59 +0200 Subject: added custom memory module --- config/hyprland/waybar/config.jsonc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'config/hyprland/waybar/config.jsonc') diff --git a/config/hyprland/waybar/config.jsonc b/config/hyprland/waybar/config.jsonc index c325c96..4760ad3 100644 --- a/config/hyprland/waybar/config.jsonc +++ b/config/hyprland/waybar/config.jsonc @@ -2,7 +2,7 @@ "layer": "top", "modules-left": ["wlr/workspaces", "mpd"], "modules-center": ["hyprland/window"], - "modules-right": ["network", "pulseaudio", "temperature", "cpu", "memory", "clock", "tray"], + "modules-right": ["network", "pulseaudio", "temperature", "cpu", "custom/memory", "clock", "tray"], "wlr/workspaces": { "on-click": "activate", }, @@ -39,10 +39,10 @@ "format": " {usage:2}%", "interval": 3, }, - "memory": { - "tooltip": false, - "format": " {used:.2f}G", - "interval": 3, + "custom/memory": { + "exec": "/home/aluc/script.sh", + "format": "{}", + "restart-interval": 3, }, "clock": { "format": "{:%H:%M}", -- cgit v1.2.3