;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ;; ;; __ __ __ ___ __ __ ;; / / / /_______ _____ / |/ /___ ____/ /_ __/ /__ _____ ;; / / / / ___/ _ \/ ___/ / /|_/ / __ \/ __ / / / / / _ \/ ___/ ;; / /_/ (__ ) __/ / / / / / /_/ / /_/ / /_/ / / __(__ ) ;; \____/____/\___/_/ /_/ /_/\____/\__,_/\__,_/_/\___/____/ ;; ;; Created By Aditya Shakya @adi1090x ;; ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ [module/public_ip] type = custom/text content=  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 exec = ~/.config/polybar/scripts/get_mic_status interval=1 label=%output% [module/cpu_temp] type = custom/script exec = sensors | awk '/Core/ {printf "%.0f\n", $3}' | tail -n1 interval=4 label= @ %output%C [module/checknetwork] type = custom/script ; Available tokens: ; %counter% ; Command to be executed (using "/usr/bin/env sh -c [command]") exec = ~/.config/polybar/scripts/check-network ; Conditional command that, if defined, needs to exit successfully ; before the main exec command is invoked. ; Default: "" ;;exec-if = "" ; Will the script output continous content? ; Default: false tail = true ; Seconds to sleep between updates ; Default: 2 (0 if `tail = true`) interval = 5 ; Available tags: ; - deprecated ;