diff --git a/polybar/config.ini b/polybar/config.ini index 9f7b512..0e07542 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -42,7 +42,7 @@ disabled = #707880 [bar/example] width = 100% -height = 28pt +height = 22pt radius = 6 monitor = ${env:MONITOR:} @@ -71,7 +71,7 @@ font-0 = JetBrainsMonoNL Nerd Font Mono;3 ; modules-left = i3 xwindow modules-left = i3 -modules-right = filesystem pulseaudio memory cpu xkeyboard date +modules-right = filesystem_root filesystem_home pulseaudio memory cpu xkeyboard date cursor-click = pointer cursor-scroll = ns-resize @@ -82,13 +82,13 @@ enable-ipc = true type = internal/xwindow label = %title:0:60:...% -[module/filesystem] +[module/filesystem_home] type = internal/fs interval = 25 mount-0 = /home -format-mounted-prefix = "DF " +format-mounted-prefix = "/home " format-mounted-prefix-foreground = ${colors.primary} label-mounted = %percentage_used%% @@ -96,6 +96,21 @@ label-mounted = %percentage_used%% label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.disabled} +[module/filesystem_root] +type = internal/fs +interval = 25 + +mount-0 = / + +format-mounted-prefix = "/ " +format-mounted-prefix-foreground = ${colors.primary} + +label-mounted = %percentage_used%% + +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.disabled} + + [module/pulseaudio] type = internal/pulseaudio