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

Loading…
Cancel
Save