diff --git a/User-contributed-modules.md b/User-contributed-modules.md index 9071917..11a7564 100644 --- a/User-contributed-modules.md +++ b/User-contributed-modules.md @@ -29,7 +29,9 @@ chmod +x .config/polybar/pkg.sh ``` font-3 = FontAwesome:pixelsize=14;0 ``` -* Create pkg module + +## Module + ``` [module/pkg] type = custom/script @@ -45,4 +47,32 @@ exec-if = "ping -q -w 2 -c 1 176.34.135.167 > /dev/null" 1 check with duckduckgo.com if you're connected to internet 2 check if there are updates -3 if yes, it prints left side : pacman updates, right side : aur updates \ No newline at end of file +3 if yes, it prints left side : pacman updates, right side : aur updates + +# openVPN + +![vpn](http://ptpb.pw/GktG.png) + +## Dependencies + +* [aur: ttf-font-awesome](https://aur.archlinux.org/packages/ttf-font-awesome/) + +## Setup + +* Add awesome font in polybar +``` +font-3 = FontAwesome:pixelsize=14;0 +``` + +## Module + +``` +[module/vpncheck] +type = custom/script +exec = pgrep openvpn +interval = 5 +label = vpn +format-underline = #268bd2 +format-prefix = " " +format-prefix-foreground = #5b +``` \ No newline at end of file