updated to be shorter and dash compliant

This commit is contained in:
shockrahwow 2019-07-04 21:23:56 -07:00
parent 833a31158b
commit 4f0b227f08

7
bread
View File

@ -1,9 +1,6 @@
#!/bin/bash #!/bin/bash
book=$(ls $HOME/Books/ | dmenu -i -l 15) book=`ls $HOME/Books/ | dmenu -i -l 15`
if [ -z "$book" ] if [ ! -z "$book" ]
then then
exit 0
else
zathura "$HOME/Books/$book" zathura "$HOME/Books/$book"
fi fi
#zathura "$HOME/Books/$book"