Compare commits
2 Commits
1004a0b986
...
047ff53091
| Author | SHA1 | Date | |
|---|---|---|---|
| 047ff53091 | |||
| 24b81df63c |
@ -41,7 +41,7 @@ function connect_vpn() {
|
||||
local connection="$1"
|
||||
local feedback
|
||||
|
||||
if feedback=$(nmcli connection up -- "$connection" 2>&1); then
|
||||
if feedback=$(nmcli connection up "$connection" 2>&1); then
|
||||
notify-send "VPN" "Connected to '$connection'"
|
||||
else
|
||||
notify-send -u critical "VPN" "Connection failed: $feedback"
|
||||
@ -53,7 +53,7 @@ function disconnect_vpn() {
|
||||
local connection="$1"
|
||||
local feedback
|
||||
|
||||
if feedback=$(nmcli connection down -- "$connection" 2>&1); then
|
||||
if feedback=$(nmcli connection down "$connection" 2>&1); then
|
||||
notify-send "VPN" "Disconnected from '$connection'"
|
||||
else
|
||||
notify-send -u critical "VPN" "Disconnect failed: $feedback"
|
||||
|
||||
@ -101,6 +101,7 @@ docker
|
||||
docker-compose
|
||||
fwupd
|
||||
plocate
|
||||
rebuild-detector
|
||||
snapper
|
||||
snap-pac
|
||||
ufw
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user