#!/bin/bash # Searches through .desktop files and prompt to launch them via dmenu gtk-launch \ "$(\ find ~/.local/share/applications \ -maxdepth 1 \ -type f \ -not -iname "wine-extension*" -a -iname "*.desktop" \ -printf "%f\n" \ | cut -d. -f1 \ | dmenu -i -p "app:" -g 1 \ )"