#!/usr/bin/env bash

# {%@@ if launcher == "fuzzel" @@%} #
which fuzzel &> /dev/null &&
    exec fuzzel
# {%@@ elif launcher == "wofi" @@%} #
which wofi &> /dev/null &&
    exec wofi \
        --show drun \
        --allow-images \
        --no-actions \
        --prompt 'Iniciar: ' \

# {%@@ elif launcher == "bmenu" @@%} #
which bmenu &> /dev/null &&
    exec bmenu run
# {%@@ endif @@%} #

notify-send "Error" "Launcher program missing"
