
new file: bspwm/bspwmrc new file: neofetch/config.conf new file: nvim/init.vim new file: polybar/config new file: polybar/launch.sh new file: polybar/scripts/bat_toggle.sh new file: polybar/scripts/brightnessctl.sh new file: polybar/scripts/bt-status.sh new file: polybar/scripts/coins.svg new file: polybar/scripts/openvpn-status.sh new file: polybar/scripts/pcrypto.py new file: polybar/scripts/pulseaudio-control.bash new file: polybar/scripts/spotify_status.py new file: polybar/scripts/xbps-updates.sh new file: polybar/scripts/xbps-updates.sh.bkp
5 lines
126 B
Bash
5 lines
126 B
Bash
|
|
#!/bin/sh
|
|
|
|
printf "VPN: " && (pgrep -a openvpn$ | head -n 1 | awk '{print $NF }' | cut -d '.' -f 1 && echo down) | head -n 1
|