diff options
author | Ben Morrison <ben@gbmor.dev> | 2020-04-24 03:34:02 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2020-04-25 00:41:02 -0400 |
commit | 2d4597f394257de01779368f47016c334164cebd (patch) | |
tree | 552e6000ab5805bfeba66a22b494ba64dddf5ee4 | |
parent | 4ac8d9102535c0d23807d5b30a366abe888fe71c (diff) | |
download | dogfiles-2d4597f394257de01779368f47016c334164cebd.tar.gz |
added cpu temp and free disk space to polybar
-rw-r--r-- | .config/polybar/config | 18 |
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 |