changed public ip script for polybar

This commit is contained in:
2021-08-10 14:26:04 +02:00
parent bf7b3fe08a
commit 175379a3e3
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -9,11 +9,11 @@
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/public_ip_city]
type = custom/script
exec = ~/.config/polybar/scripts/public_ip_city
interval=30
label=%output%
[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
[module/mic_status]
type = custom/script