summaryrefslogtreecommitdiff
path: root/config/hyprland/waybar/config.jsonc
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-16 21:30:59 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-16 21:31:16 +0200
commite8fbc3a1652f74099e52ef94190cbcca064aa859 (patch)
tree42813ab9614dd1c0cbd6052b585828e7d2d493e7 /config/hyprland/waybar/config.jsonc
parentff199960c985d93e1174797765c115adc7e63ba6 (diff)
added custom memory module
Diffstat (limited to 'config/hyprland/waybar/config.jsonc')
-rw-r--r--config/hyprland/waybar/config.jsonc10
1 files changed, 5 insertions, 5 deletions
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}",