diff --git a/bread b/bread index 0434987..466ccce 100755 --- a/bread +++ b/bread @@ -1,9 +1,6 @@ #!/bin/bash -book=$(ls $HOME/Books/ | dmenu -i -l 15) -if [ -z "$book" ] +book=`ls $HOME/Books/ | dmenu -i -l 15` +if [ ! -z "$book" ] then - exit 0 -else zathura "$HOME/Books/$book" fi -#zathura "$HOME/Books/$book"