From 5cee990453ab12ee58b94bf8e70e9478de7a5079 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Thu, 30 Apr 2020 15:13:14 +0300 Subject: [PATCH] nordvpn etc. --- .config/polybar/config | 2 +- .config/polybar/scripts/nordvpn/vpn-nordvpn-status.sh | 4 ++-- .zaliases | 3 +++ addons/pacman-packages | 3 +++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 5bb500e..395e888 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -129,7 +129,7 @@ label-background = ${colors.color6} type = custom/script exec = ~/.config/polybar/scripts/nordvpn/vpn-nordvpn-status.sh interval = 5 -label = " %output%" +label = " %output% " label-foreground = ${colors.color0} label-background = ${colors.color3} diff --git a/.config/polybar/scripts/nordvpn/vpn-nordvpn-status.sh b/.config/polybar/scripts/nordvpn/vpn-nordvpn-status.sh index beaaa74..c573f44 100755 --- a/.config/polybar/scripts/nordvpn/vpn-nordvpn-status.sh +++ b/.config/polybar/scripts/nordvpn/vpn-nordvpn-status.sh @@ -3,7 +3,7 @@ STATUS=$(nordvpn status | grep Status | tr -d ' ' | cut -d ':' -f2) 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 - echo "%{F#f00}%{A1:nordvpn c:}no vpn%{A}%{F-}" + echo "%{F#4C566A}%{A1:nordvpn c:} no vpn%{A}%{F-}" fi diff --git a/.zaliases b/.zaliases index e8347b8..38ca463 100644 --- a/.zaliases +++ b/.zaliases @@ -23,6 +23,9 @@ alias sustatus='sudo systemctl status' alias sustart='sudo systemctl start' alias sustop='sudo systemctl stop' 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: weath() { curl wttr.in/Hameenlinna ;} diff --git a/addons/pacman-packages b/addons/pacman-packages index d338342..085241a 100644 --- a/addons/pacman-packages +++ b/addons/pacman-packages @@ -55,6 +55,7 @@ gtop gucharmap gvfs-mtp gzip +helm htop i3-gaps-next-git inetutils @@ -67,6 +68,7 @@ jfsutils jq jsoncpp kitty +kubectl less libglade libinput-gestures @@ -126,6 +128,7 @@ pulseaudio-bluetooth python-cairo python-mpd2 python-pip +python-pynvim python-pyqt5 python-pywal python-setuptools