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.
This commit is contained in:
Vincent Bernat 2021-07-10 13:08:29 +02:00
parent 5583ecdc52
commit 6a2db7ed4b

View file

@ -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 = <label-warn>
# format-warn-foreground = #ff0000
# label-warn =  %mountpoint%: %percentage_used%%
[module/brightness]
type = internal/backlight
card = intel_backlight