From 6a2db7ed4b1752cca29545f50db2b51b36ffe7ae Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 10 Jul 2021 13:08:29 +0200 Subject: [PATCH] polybar: try to display disks when full This is not possible yet. The trick we did use for battery is not possible either as it is not possible to use tokens inside ramps. --- dotfiles/polybar.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/dotfiles/polybar.conf b/dotfiles/polybar.conf index d923ee4..9623937 100644 --- a/dotfiles/polybar.conf +++ b/dotfiles/polybar.conf @@ -63,6 +63,24 @@ label-urgent = %name% label-urgent-background = #a00000 label-urgent-padding = 1 +# Not supported yet. Wait for 3.6.0 to get the warn stuff. +# [module/disk] +# type = internal/fs +# mount-0 = / +# mount-1 = /home +# mount-2 = /var +# mount-3 = /tmp +# mount-4 = /var/lib/systems +# mount-5 = /boot +# warn-percentage = 80 +# fixed-values = true +# interval = 15 +# format-unmounted = +# format-mounted = +# format-warn = +# format-warn-foreground = #ff0000 +# label-warn =  %mountpoint%: %percentage_used%% + [module/brightness] type = internal/backlight card = intel_backlight