1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

i3b/iface: fix repeated xclip invocation

This commit is contained in:
Joe Groocock 2018-03-29 15:59:41 +01:00
parent dfda38ffab
commit 761c84863e
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -55,6 +55,8 @@ case $BLOCK_BUTTON in
break;;
2) curl -s https://api.ipify.org | tee >(xclip -i);
break;;
*) echo "$LOCIP" | tee >(xclip -i);
0|3) echo "$LOCIP" | tee >(xclip -i);
break;;
*) echo "$LOCIP"
break;;
esac