summary refs log tree commit diff
path: root/.config/waybar/config
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-02-13 01:58:20 +0100
committerRobert Günzler <r@gnzler.io>2020-02-13 01:58:20 +0100
commit999949e58aafeb54a2d0531f65a043ec4d88bf75 (patch)
treea57e451db99e5d431121130f27b1d787eaa4a7a0 /.config/waybar/config
parent1971190ca57f18d60309c51f025e7c56934afeae (diff)
waybar: Add disk modules for root and home paritions
Diffstat (limited to '.config/waybar/config')
-rw-r--r--.config/waybar/config10
1 files changed, 9 insertions, 1 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index a6dd28c..7d6b519 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -6,7 +6,7 @@
 
     "modules-left": ["sway/mode", "sway/workspaces", "sway/window", "custom/media", "custom/toggl"],
     "modules-center": ["clock#local", "clock#utc"],
-    "modules-right": ["cpu", "memory", "temperature", "idle_inhibitor", "backlight", "pulseaudio", "network#wg", "network", "battery", "tray"],
+    "modules-right": ["cpu", "memory", "disk#root", "disk#home", "temperature", "idle_inhibitor", "backlight", "pulseaudio", "network#wg", "network", "battery", "tray"],
     "sway/workspaces": {
         "disable-scroll": true,
         "all-outputs": false,
@@ -56,6 +56,14 @@
         "format": "({:<small>%Z</small> %H:%M})",
 	"tooltip-format": "{:%Z %z}"
     },
+    "disk#root": {
+	"path": "/",
+	"format": "<small>/ </small>{percentage_used}%"
+    },
+    "disk#home": {
+	"path": "/home",
+	"format": "<small>/home </small>{percentage_used}% "
+    },
     "cpu": {
         "format": "{usage}% "
     },