From f091e52e1bdbb1a49f73f97217493ba5dbb9733e Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sun, 6 Aug 2023 01:27:11 +0200 Subject: [PATCH] Polybar add my ip --- .config/polybar/config | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/polybar/config b/.config/polybar/config index 57ee34f..2c53d39 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -336,6 +336,14 @@ type = custom/script exec = ~/.config/polybar/player-mpris-tail.py -f '{icon} {artist} - {title}' tail = true +[module/myip] +type = custom/script +exec = curl ifconfig.me 2> /dev/null +interval = 90 +format-underline = #55aa55 +format-prefix = "🌐 " +format-prefix-font = 2 + [module/powermenu] type = custom/menu