diff options
| author | Omar Magdy <omar.professional8777@gmail.com> | 2022-05-01 20:27:15 +0200 |
|---|---|---|
| committer | Omar Magdy <omar.professional8777@gmail.com> | 2022-05-01 20:27:15 +0200 |
| commit | 8248b2e9c754649523ee0b08b530edd8eb42f8f3 (patch) | |
| tree | e770ce2d28f35d1e7ac28d5f238d613e81bfff27 /scripts/.scripts/books.sh | |
| parent | b89824e5a2f41c3acf49ca6b5c08bd7e71a311e7 (diff) | |
| download | dotfiles-8248b2e9c754649523ee0b08b530edd8eb42f8f3.tar.xz dotfiles-8248b2e9c754649523ee0b08b530edd8eb42f8f3.zip | |
Added kitty/alacrity/scripts/zsh dotfiles
Diffstat (limited to 'scripts/.scripts/books.sh')
| -rwxr-xr-x | scripts/.scripts/books.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/scripts/.scripts/books.sh b/scripts/.scripts/books.sh new file mode 100755 index 0000000..be224aa --- /dev/null +++ b/scripts/.scripts/books.sh @@ -0,0 +1,32 @@ +#!/bin/sh +################################################################## +# ___ __ __ _ +# / _ \ _ __ ___ __ _ _ __ | \/ | __ _ __ _ __| |_ _ +#| | | | '_ ` _ \ / _` | '__| | |\/| |/ _` |/ _` |/ _` | | | | +#| |_| | | | | | | (_| | | | | | | (_| | (_| | (_| | |_| | +# \___/|_| |_| |_|\__,_|_| |_| |_|\__,_|\__, |\__,_|\__ | +# |___/ |___/ +# +################################################################## + +path="/mnt/CEBE20B1BE2093CD/Omar/Self learning/Books/English books" +choice=$(ls "$path" | dmenu -l 10) +new_choice=$choice + +while [ -d "$path/$new_choice" ] +do + choice=$(ls "$path/$new_choice" | dmenu -l 10) + new_choice+="/" + new_choice+=$choice #path/books for cs/ + echo $new_choice +done + +zathura --mode fullscreen "$path/$new_choice" + + + + + + + + |
