nordvpn etc.

This commit is contained in:
Harri Lahtinen 2020-04-30 15:13:14 +03:00
parent 3c3a2218cc
commit 5cee990453
4 changed files with 9 additions and 3 deletions

View File

@ -3,7 +3,7 @@
STATUS=$(nordvpn status | grep Status | tr -d ' ' | cut -d ':' -f2) STATUS=$(nordvpn status | grep Status | tr -d ' ' | cut -d ':' -f2)
if [ "$STATUS" = "Connected" ]; then if [ "$STATUS" = "Connected" ]; then
echo "%{F#82E0AA}%{A1:nordvpn d:}$(nordvpn status | grep City | cut -d ':' -f2)%{A}%{F-}" echo "%{F#82E0AA}%{A1:nordvpn d:}$(nordvpn status | grep City | cut -d ':' -f2)%{A}%{F-}"
else else
echo "%{F#f00}%{A1:nordvpn c:}no vpn%{A}%{F-}" echo "%{F#4C566A}%{A1:nordvpn c:} no vpn%{A}%{F-}"
fi fi

View File

@ -23,6 +23,9 @@ alias sustatus='sudo systemctl status'
alias sustart='sudo systemctl start' alias sustart='sudo systemctl start'
alias sustop='sudo systemctl stop' alias sustop='sudo systemctl stop'
alias surestart='sudo systemctl restart' alias surestart='sudo systemctl restart'
alias suenable='sudo systemctl enable'
alias sudisable='sudo systemctl disable'
alias orphans='sudo pacman -Rns $(pacman -Qtdq)'
#Check the weather: #Check the weather:
weath() { curl wttr.in/Hameenlinna ;} weath() { curl wttr.in/Hameenlinna ;}

View File

@ -55,6 +55,7 @@ gtop
gucharmap gucharmap
gvfs-mtp gvfs-mtp
gzip gzip
helm
htop htop
i3-gaps-next-git i3-gaps-next-git
inetutils inetutils
@ -67,6 +68,7 @@ jfsutils
jq jq
jsoncpp jsoncpp
kitty kitty
kubectl
less less
libglade libglade
libinput-gestures libinput-gestures
@ -126,6 +128,7 @@ pulseaudio-bluetooth
python-cairo python-cairo
python-mpd2 python-mpd2
python-pip python-pip
python-pynvim
python-pyqt5 python-pyqt5
python-pywal python-pywal
python-setuptools python-setuptools