diff options
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -131,11 +131,11 @@ browseFilesystem () { chose() { if [[ -d "$selection" ]]; then cd "$selection" - selection="$(echo -e "0 Return to Library Menu\n1 Add all music files\n---\n$(ls)" | rofi -dmenu -p "Chose Directory/Files > ")" + selection="$(echo -e "0 Return to Library Menu\n1 Add all music files\n---\n$(ls)" | rofi -dmenu -p "Chose Directory/Files > ")" chose - elif [[ "$selection" == "1 Add all music files" ]]; then + elif [[ "$selection" == "1 Add all music files" ]]; then comboadd - elif [[ "$selection" == "0 Return to Library Menu" ]]; then + elif [[ "$selection" == "0 Return to Library Menu" ]]; then browseLibPrompt elif [[ "$selection" == "" ]]; then exit @@ -144,7 +144,7 @@ browseFilesystem () { } cd ~ - selection="$(echo -e "Add all music files\n---\n$(ls)" | rofi -dmenu -p "Chose Directory/Files > ")" + selection="$(echo -e "0 Return to Library Menu\n1 Add all music files\n---\n$(ls)" | rofi -dmenu -p "Chose Directory/Files > ")" chose } |