From 7b8ddd56dcbdaf51b4c14c2f750347793b113d1c Mon Sep 17 00:00:00 2001 From: dcarrillo Date: Thu, 8 Aug 2019 16:49:21 +0200 Subject: [PATCH] [polybar] Improve text align when showing network manager menu --- .config/polybar/scripts/nmcli_manager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/polybar/scripts/nmcli_manager b/.config/polybar/scripts/nmcli_manager index f2c4163..eded687 100755 --- a/.config/polybar/scripts/nmcli_manager +++ b/.config/polybar/scripts/nmcli_manager @@ -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)