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:
parent
06f898d3f3
commit
7b8ddd56dc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user