diff options
author | Rasmus Steinke <rasi@xssn.at> | 2014-10-31 19:52:18 +0100 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2014-10-31 19:52:18 +0100 |
commit | 668e6e8e1c3c8d27c2dbbfb477b5c580daa3eadd (patch) | |
tree | 2d444287c2f50f83fd96ce4baf9eda2673756f73 | |
parent | a99de99a331ad2eac3d941cc38493495f63d5271 (diff) | |
download | perl-app-clerk-668e6e8e1c3c8d27c2dbbfb477b5c580daa3eadd.tar.gz perl-app-clerk-668e6e8e1c3c8d27c2dbbfb477b5c580daa3eadd.tar.xz |
small visual bugfix
-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 } |