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

3 lines
122 B
Bash
Raw Normal View History

2022-09-30 12:22:28 +02:00
#!/usr/bin/env bash
mullvad $(find /etc/wireguard -name "mlv-*.conf" -printf "%f\n" | sed 's/mlv-\(.*\)\.conf/\1/' | fzf)