do not open if no session chosen

This commit is contained in:
Ray Elliott 2020-03-26 16:00:43 +00:00
parent c616b75e45
commit 3d388e9fc8
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ fi
_session_list=$(ls -t "$_session_dir" | sed 's/\.yml//')
_session=$(printf "NONE\n%s" "$_session_list" | dmenu $DMENU_OPTIONS -i -p "Session :")
[ -z "$_session" ] && exit 5;
if [ "$_session" = 'NONE' ] ; then
qutebrowser -R