plugins/xdgdefault | 6 +++--- diff --git a/plugins/xdgdefault b/plugins/xdgdefault index 159dbc6c3fb57448f4636e3d1ce08f7fe2ddce57..7d49c2bfb33c0ac32e60e9036eb04d18b92ed78a 100755 --- a/plugins/xdgdefault +++ b/plugins/xdgdefault @@ -13,10 +13,10 @@ # set to 1 to enable GUI apps GUI="${GUI:-0}" -if [ "$GUI" -ne 0 ] && command -v dmenu >/dev/null 2>& 1; then - menu="dmenu -l 7" +if [ "$GUI" -ne 0 ] && command -v dmenu > /dev/null 2>& 1; then + menu="dmenu -i -l 7" elif command -v fzf > /dev/null 2>& 1; then - menu="fzf -e --tiebreak=begin" + menu="fzf -e --tiebreak=begin" fi if [ -z "$1" ] || [ -z "$menu" ] > /dev/null 2>& 1; then