You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
266 B

#!/bin/bash -e
MENUS="
dmenu-frecency
rofi -show run
dmenu_run
"
printf $s "$MENUS" | while read -r m;
do
if [[ -z $m ]]; then
continue
fi
c=`echo $m | awk '{print $1}'`
if hash $c &> /dev/null
then
$m
exit
fi
done