diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-02-13 10:11:06 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-02-13 10:11:06 +0100 |
| commit | 41adf77fff2feb29c64dc8d88647f0e919944be8 (patch) | |
| tree | 1a3b6c432a16b5b4ccdbf75fbff71c884104e828 /dmenu-filepicker | |
| parent | 3f190a17b90cb3c641ca0ead72eb86ec3dd36651 (diff) | |
| download | scripts-41adf77fff2feb29c64dc8d88647f0e919944be8.tar.gz scripts-41adf77fff2feb29c64dc8d88647f0e919944be8.zip | |
Fixed for spaces in file names
Diffstat (limited to '')
| -rwxr-xr-x | dmenu-filepicker | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu-filepicker b/dmenu-filepicker index 7538008..3e7182b 100755 --- a/dmenu-filepicker +++ b/dmenu-filepicker | |||
| @@ -15,7 +15,7 @@ while true; do | |||
| 15 | break | 15 | break |
| 16 | elif [ -d "$fullpath" ]; then | 16 | elif [ -d "$fullpath" ]; then |
| 17 | sel=$(ls -a "$fullpath" | sed 's|.*/||' | $menu $menuopts) | 17 | sel=$(ls -a "$fullpath" | sed 's|.*/||' | $menu $menuopts) |
| 18 | fullpath=$(printf "$fullpath/%s\n" $sel) | 18 | fullpath=$(printf "$fullpath/%s\n" "$sel") |
| 19 | else | 19 | else |
| 20 | echo "$fullpath" | 20 | echo "$fullpath" |
| 21 | break | 21 | break |
