do not open if no session chosen
This commit is contained in:
parent
c616b75e45
commit
3d388e9fc8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue