From b394568a2d72e302f2177d919f5a4386efc3c594 Mon Sep 17 00:00:00 2001 From: Ryan Kes <> Date: Wed, 2 Dec 2020 20:12:07 +0100 Subject: [PATCH] feat(polybar): added icons for fs mounts --- polybar/.config/polybar/config | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 86f92ac..31f6e9f 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -66,7 +66,7 @@ monitor = ${env:MONITOR:eDP1} modules-left = bspwm modules-center = battery0 battery1 seperator wlan wg0 wg1 bluetooth -modules-right = seperator xbacklight volume-laptop seperator docker memory cpu-laptop temperature seperator filesystem seperator updates-arch-combined mail reddit github rss seperator weather seperator date seperator +modules-right = seperator xbacklight volume-laptop seperator docker memory cpu-laptop temperature seperator filesystem-root filesystem-home seperator updates-arch-combined mail reddit github rss seperator weather seperator date seperator tray-position = right @@ -76,7 +76,7 @@ monitor = ${env:MONITOR:DP-1} modules-left = bspwm modules-center = mpd player-mpris-tail -modules-right = seperator corona seperator eth bluetooth seperator volume seperator docker memory cpu temperature seperator system-usb-udev filesystem seperator updates-arch-combined mail reddit github rss seperator weather seperator date seperator +modules-right = seperator corona seperator eth bluetooth seperator volume seperator docker memory cpu temperature seperator system-usb-udev filesystem-root filesystem-home seperator updates-arch-combined mail reddit github rss seperator weather seperator date seperator tray-position = right @@ -87,15 +87,23 @@ modules-left = bspwm ;== Modules ======================================================== -[module/filesystem] +[module/filesystem-home] +type = internal/fs + +mount-0 = /home + +label-mounted = 🏠 %percentage_used%% +label-unmounted-background = ${colors.alert} + +[module/filesystem-root] type = internal/fs mount-0 = / -mount-1 = /home -label-mounted = %mountpoint%: %percentage_used%% +label-mounted = 💽 %percentage_used%% label-unmounted-background = ${colors.alert} + [module/bspwm] type = internal/bspwm