Simply use curl to get public IP
This commit is contained in:
parent
01c088d308
commit
67a1087e24
1 changed files with 2 additions and 3 deletions
|
@ -75,10 +75,9 @@ interval=900
|
||||||
command=scripts/crypto ZIL -b EUR -r 5
|
command=scripts/crypto ZIL -b EUR -r 5
|
||||||
interval=900
|
interval=900
|
||||||
|
|
||||||
[protonvpn]
|
[pub-ip]
|
||||||
interval=5
|
interval=5
|
||||||
LABEL_ON=<span foreground='#17d427'> </span>
|
command=echo "IP: $(curl ifconfig.me)"
|
||||||
LABEL_OFF=<span foreground='#c90f1f'> </span>
|
|
||||||
|
|
||||||
[battery]
|
[battery]
|
||||||
command=echo " $(upower -d | grep 'percentage' | awk '{print $2}' | head -n 1) ($(upower -d | grep 'time to empty' | awk -F: '{print $2}' | awk '{print $1,$2}' | head -n 1))"
|
command=echo " $(upower -d | grep 'percentage' | awk '{print $2}' | head -n 1) ($(upower -d | grep 'time to empty' | awk -F: '{print $2}' | awk '{print $1,$2}' | head -n 1))"
|
||||||
|
|
Loading…
Add table
Reference in a new issue