Add protonvpn

This commit is contained in:
flyingscorpio@arch-desktop 2020-04-21 09:42:25 +02:00
parent ef00681a4d
commit 71c8a4685d
2 changed files with 8 additions and 4 deletions

View file

@ -30,7 +30,7 @@ separator_block_width=15
markup=pango markup=pango
[arch-update] [arch-update]
interval=300 interval=30
QUIET=true QUIET=true
WATCH=^linux.* ^pacman.* WATCH=^linux.* ^pacman.*
BASE_COLOR=#5fff5f BASE_COLOR=#5fff5f
@ -49,10 +49,14 @@ interval=1800
command=scripts/ccurrency -c ETH -f EUR command=scripts/ccurrency -c ETH -f EUR
interval=1800 interval=1800
[protonvpn]
interval=5
LABEL=VPN
[rofi-calendar] [rofi-calendar]
interval=1800 interval=60
LABEL= LABEL=
DATEFTM=+ %a. %d. %b. %Y DATEFTM=+ %a. %d. %b. %Y - %H:%M
SHORTFTM=+ %d.%m.%Y SHORTFTM=+ %d.%m.%Y
[] []

View file

@ -11,4 +11,4 @@ country = pvpn_utils.get_country_name(country_code)
city = pvpn_utils.get_server_value(connected_server, "City", servers) city = pvpn_utils.get_server_value(connected_server, "City", servers)
print("{} ({}) - {}, {}".format(ip_addr, connected_server, country, city)) print("VPN - {} ({}) - {}, {}".format(ip_addr, connected_server, city, country))