From 53dc8c95e525f922461dfc1768121ee02380e4ec Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 5 Aug 2026 17:58:58 +0530 Subject: feat: Rewrote neomutt keybindings, updated comments - Rewriting the neomutt keybindings by hand - Updated comments to be simpler --- modules/scripts/yazi-file-chooser/script.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules/scripts/yazi-file-chooser/script.sh') diff --git a/modules/scripts/yazi-file-chooser/script.sh b/modules/scripts/yazi-file-chooser/script.sh index e02c742..5e4b229 100644 --- a/modules/scripts/yazi-file-chooser/script.sh +++ b/modules/scripts/yazi-file-chooser/script.sh @@ -1,8 +1,8 @@ -# $1 = multiple selection (1/0) -# $2 = directory select mode (1/0) -# $3 = save file mode (1/0) -# $4 = initial directory path -# $5 = output path file (where portal expects selected paths) +# $1 toggles multiple selection +# $2 toggles directory select mode +# $3 toggles save file mode +# $4 is the initial directory path +# $5 is the output path file # multiple="$1" directory="$2" @@ -12,9 +12,9 @@ out="$5" # Pick directory vs single/multiple file if [ "$directory" = "1" ]; then - # --cwd-file outputs the final working directory path when exiting + # Outputs the final working directory path on exit exec yazi "$path" --cwd-file="$out" else - # --chooser-file writes all selected file path(s) to $out on exit + # Writes all selected file paths to the output file on exit exec yazi "$path" --chooser-file="$out" fi -- cgit v1.2.3