This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/scripts/launcher

20 lines
441 B
Bash
Executable File

#!/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"