summary refs log tree commit diff stats
path: root/.config/polybar
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-04-24 03:34:02 -0400
committerBen Morrison <ben@gbmor.dev>2020-04-25 00:41:02 -0400
commit2d4597f394257de01779368f47016c334164cebd (patch)
tree552e6000ab5805bfeba66a22b494ba64dddf5ee4 /.config/polybar
parent4ac8d9102535c0d23807d5b30a366abe888fe71c (diff)
downloaddogfiles-2d4597f394257de01779368f47016c334164cebd.tar.gz
added cpu temp and free disk space to polybar
Diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config18
1 files changed, 17 insertions, 1 deletions
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>
+label-mounted = %free% free
+
+[module/cputemp]
+type = internal/temperature
+interval = 1
+thermal-zone = 0
+base-temperature = 20
+warn-temperature = 75
+
 [settings]
 screenchange-reload = true