home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 7e3990906f9fea169b74da0534c75171880f415d
parent 5809efc348ec8fc342ca0c06f465eec0d6f80a0b
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Sat, 15 Apr 2023 04:00:58 +0200

scripts: redhat-vpn, quoting..

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mnix/packages/my/scripts/bin/redhat-vpn | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nix/packages/my/scripts/bin/redhat-vpn b/nix/packages/my/scripts/bin/redhat-vpn @@ -14,9 +14,9 @@ if ! [ "${XDG_CURRENT_DESKTOP}" == "sway" ]; then fi if [[ GRAPHICS -eq 0 ]]; then - connection=$(nmcli connection show | grep vpn | fzf) + connection="$(nmcli connection show | grep vpn | fzf)" else - connection=$(nmcli connection show | grep vpn | zenity --list --title "Red Hat VPNs" --text "Choose your VPN.." --column "Name" --width=600 --height=450) + connection="$(nmcli connection show | grep vpn | zenity --list --title "Red Hat VPNs" --text "Choose your VPN.." --column "Name" --width=600 --height=450)" fi NOTIFY_CMD="notify-send" if [[ GRAPHICS -eq 0 ]]; then