Updated User contributed modules (markdown)

eoli3n 2017-01-14 13:05:25 +01:00
parent 0d80a32e9f
commit fa21261c0a
1 changed files with 32 additions and 2 deletions

@ -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
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
```