refined public ip script for polybar

This commit is contained in:
2021-08-10 14:34:53 +02:00
parent 175379a3e3
commit 7005493ab1
+1 -2
View File
@@ -12,8 +12,7 @@
[module/public_ip]
type = custom/text
content=
click-left = curl -s ifconfig.co | while read OUTPUT; do notify-send "$OUTPUT"; done
click-right = curl -s ifconfig.co | xargs -I % sh -c "curl -s ipinfo.io/%/city" | while read OUTPUT; do notify-send "$OUTPUT"; done
click-left = curl -s ifconfig.co | while read OUTPUT; do notify-send "$OUTPUT"; done & curl -s ifconfig.co | xargs -I % sh -c "curl -s ipinfo.io/%/city" | while read OUTPUT; do notify-send "$OUTPUT"; done
[module/mic_status]
type = custom/script