aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/singboxwrap
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-08-14 05:46:25 +0300
committerawy <awy@awy.one>2025-08-14 05:46:25 +0300
commit222fe9a9ffc5430ea28173f01482f30b26f22648 (patch)
treed11094fe10c854cd23dfa5f49850e1facfefe116 /.local/bin/singboxwrap
parent9e12eb5b61daa6fc864301893bc6242614777d76 (diff)
downloadhyprdots-222fe9a9ffc5430ea28173f01482f30b26f22648.tar.gz
update
Diffstat (limited to '.local/bin/singboxwrap')
-rwxr-xr-x.local/bin/singboxwrap6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/singboxwrap b/.local/bin/singboxwrap
index b2af2c6..e52db36 100755
--- a/.local/bin/singboxwrap
+++ b/.local/bin/singboxwrap
@@ -10,13 +10,13 @@ run_singbox () {
pidof sing-box >/dev/null && killall sing-box
setsid -f sing-box -c "$1" run
if [ "$input" = menu ]; then
- notify-send "sing-box" "sing-box with $(readlink "$1") is running now"
+ notify-send "sing-box with $(readlink "$1") is running now"
fi
- } || notify-send "sing-box" "Config check has failed. Check your configuration at $(readlink $1)" & exit 1
+ } || notify-send "Config check has failed. Check your configuration at $(readlink $1)" & exit 1
}
choose_menu () {
- choose="$(fd . $config_dir -d 1 -t f | rofi -dmenu -p "Config to use")"
+ choose="$(fd . $config_dir -d 1 -t f | mew -p "Config to use")"
[ -n "$choose" ] || exit 1
ln -sf "$choose" "$default_path"
echo "$default_path"