commit 20535cadae3254c7badd84fc75f9d2e975626769 parent 007e7331271736ae4110282ca14e35df9394711b Author: awy <awy@awy.one> Date: Sat, 20 Dec 2025 17:48:26 +0300 convenient Diffstat:
| M | .local/bin/singboxwrap | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.local/bin/singboxwrap b/.local/bin/singboxwrap @@ -18,9 +18,9 @@ run_singbox() { } choose_menu() { - choose="$(fd . $config_dir -d 1 -t f | mew -c -l 10 -p "sing-box cfg: ")" + choose="$(fd --format="{/}" . $config_dir -d 1 -t f | mew -c -l 10 -p "sing-box cfg: ")" [ -z "${choose}" ] && exit - ln -sf "$choose" "$default_path" + ln -sf "$config_dir/$choose" "$default_path" echo "$default_path" }