latest user config
This commit is contained in:
@@ -54,14 +54,11 @@ function toggle_vpn_connection() {
|
||||
|
||||
if [[ $result = ${ACTIVE_PREFIX}* ]]; then
|
||||
feedback=$(nmcli connection down "$connection")
|
||||
dunstify "VPN Status '$connection'" "$feedback" --replace=553
|
||||
# hyprctl notify 1 5000 0 " VPN Status '$connection' "
|
||||
notify-send "VPN Status '$connection'" "$feedback"
|
||||
else
|
||||
kitty --class "kitty-vpn" --title "VPN Connection" nmcli connection --ask up "$connection"
|
||||
alacritty --class "vpn-prompt" --title "VPN Connection" -e nmcli connection --ask up "$connection"
|
||||
#feedback=$(nmcli connection up "$connection")
|
||||
dunstify "VPN Status '$connection'" "" --replace=553
|
||||
|
||||
#hyprctl notify 1 5000 0 " VPN Status '$connection' "
|
||||
notify-send "VPN Status '$connection'" "Trying to connect"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user