dotfiles

My dotfiles for Arch Linux
Log | Files | Refs | README

cowsay_ip.sh (274B)


      1 #!/bin/dash
      2 
      3 st -e watch -n 0.1 -t 'for i in `ip r`; do echo $i; done | grep -A 1 src | tail -1 | cowsay -f tux; if [ -d "/proc/sys/net/ipv4/conf/tun0" ]; then nordvpn status | cowsay -n -b -f tux && nordvpn settings | cowsay -n -b -f tux; else cowsay -p -f tux no VPN; fi'