diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-05 17:58:58 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-05 17:58:58 +0530 |
| commit | 53dc8c95e525f922461dfc1768121ee02380e4ec (patch) | |
| tree | 8eabc7f32c25f47311a599c5a65e19a67447f9af /modules/scripts/yazi-file-chooser/script.sh | |
| parent | 0a7afa2d1e576f05253b62c6b17e5e4873fbdebc (diff) | |
| download | home-manager-config-53dc8c95e525f922461dfc1768121ee02380e4ec.tar.gz home-manager-config-53dc8c95e525f922461dfc1768121ee02380e4ec.zip | |
feat: Rewrote neomutt keybindings, updated comments
- Rewriting the neomutt keybindings by hand
- Updated comments to be simpler
Diffstat (limited to 'modules/scripts/yazi-file-chooser/script.sh')
| -rw-r--r-- | modules/scripts/yazi-file-chooser/script.sh | 14 |
1 files changed, 7 insertions, 7 deletions
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 |
