1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

feat(polybar): added icons for fs mounts

This commit is contained in:
Ryan Kes 2020-12-02 20:12:07 +01:00
parent 775756b7fe
commit b394568a2d

View File

@ -66,7 +66,7 @@ monitor = ${env:MONITOR:eDP1}
modules-left = bspwm modules-left = bspwm
modules-center = battery0 battery1 seperator wlan wg0 wg1 bluetooth 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 tray-position = right
@ -76,7 +76,7 @@ monitor = ${env:MONITOR:DP-1}
modules-left = bspwm modules-left = bspwm
modules-center = mpd player-mpris-tail 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 tray-position = right
@ -87,15 +87,23 @@ modules-left = bspwm
;== Modules ======================================================== ;== 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 type = internal/fs
mount-0 = / mount-0 = /
mount-1 = /home
label-mounted = %mountpoint%: %percentage_used%% label-mounted = 💽 %percentage_used%%
label-unmounted-background = ${colors.alert} label-unmounted-background = ${colors.alert}
[module/bspwm] [module/bspwm]
type = internal/bspwm type = internal/bspwm