From 7005493ab1b689737d9e13ba081f9abe2d1ea485 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Tue, 10 Aug 2021 14:34:53 +0200 Subject: [PATCH] refined public ip script for polybar --- .config/polybar/user_modules.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/polybar/user_modules.ini b/.config/polybar/user_modules.ini index 2bce51b..43c0c26 100644 --- a/.config/polybar/user_modules.ini +++ b/.config/polybar/user_modules.ini @@ -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