Browse Source

Fix menu launcher

umatrix-rules
siinus 4 years ago
parent
commit
4f5a16c80a
  1. 12
      i3/.i3/scripts/menu-launch

12
i3/.i3/scripts/menu-launch

@ -2,13 +2,17 @@ @@ -2,13 +2,17 @@
MENUS="
dmenu-frecency
rofi
dmenu
rofi -show run
dmenu_run
"
for m in $MENUS
printf $s "$MENUS" | while read -r m;
do
if hash $m &> /dev/null
if [[ -z $m ]]; then
continue
fi
c=`echo $m | awk '{print $1}'`
if hash $c &> /dev/null
then
$m
exit

Loading…
Cancel
Save