From 2d4597f394257de01779368f47016c334164cebd Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Fri, 24 Apr 2020 03:34:02 -0400 Subject: added cpu temp and free disk space to polybar --- .config/polybar/config | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.config/polybar/config b/.config/polybar/config index 078c0f6..48d115e 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -25,7 +25,7 @@ font-2 = "Font Awesome 5 Brands:size=10;1" modules-left = i3 modules-center = -modules-right = cpu memory batt1 batt0 wlan eth date +modules-right = cpu memory rootfs cputemp batt1 batt0 wlan eth date tray-position = ;tray-padding = @@ -259,6 +259,22 @@ format-padding = 2 label = %date% %time% +[module/rootfs] +type = internal/fs + +mount-0 = / +interval = 10 + +format-mounted = +label-mounted = %free% free + +[module/cputemp] +type = internal/temperature +interval = 1 +thermal-zone = 0 +base-temperature = 20 +warn-temperature = 75 + [settings] screenchange-reload = true -- cgit 1.4.1