1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 08:08:00 +00:00

[polybar] Improve text align when showing network manager menu

This commit is contained in:
Daniel Carrillo 2019-08-08 16:49:21 +02:00
parent 06f898d3f3
commit 7b8ddd56dc

View File

@ -34,7 +34,7 @@ function build_rofi_menu()
[[ -z $device ]] && status= || status=
dtype=${dtype##*-}
option=$(printf '%-45s | %s | %s\n' "$name" $dtype $status)
option=$(printf '%-35s | %-15s | %s\n' "$name" $dtype $status)
menu="$menu # $option"
done < <(nmcli -c no --terse -f NAME,TYPE,DEVICE connection show)