This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requirements: python-gobject | |
# this hacky little code rotates your VPN connection using openvpn every 3 hours. | |
# its nasty but does the job | |
import time, random, requests | |
from json import loads | |
from subprocess import Popen | |
from gi.repository import Notify | |
Notify.init("VPN rotate") |