Fix: Wifi widget needs newline

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-09-16 10:30:16 +02:00
parent afca39be39
commit d53fefa952
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -16,7 +16,7 @@ network=$(iwgetid -r)
# We found no network: Get out here # We found no network: Get out here
[ -z "${network}" ] && exit [ -z "${network}" ] && exit
printf "\uf9a1 <span color=\"#8FAAFC\">%s</span> <span color=\"#50fa7b\">(%s)</span>" ${network} ${ip} printf "\uf9a1 <span color=\"#8FAAFC\">%s</span> <span color=\"#50fa7b\">(%s)</span>\n" ${network} ${ip}
# On click copy IP # On click copy IP
[ -n "${BLOCK_BUTTON:-}" ] && echo -n "${ip}" | tr -d '\n' | xclip -selection c || true [ -n "${BLOCK_BUTTON:-}" ] && echo -n "${ip}" | tr -d '\n' | xclip -selection c || true