nixos-config/modules/mullvad/mullvad-fzf.sh

8 lines
234 B
Bash
Raw Permalink Normal View History

2022-09-30 12:22:28 +02:00
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
2022-09-30 12:22:28 +02:00
mullvad $(find /etc/wireguard -name "mlv-*.conf" -printf "%f\n" | sed 's/mlv-\(.*\)\.conf/\1/' | fzf)