refined public ip script for polybar
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user