Fix: Wifi widget needs newline
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
afca39be39
commit
d53fefa952
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue