add option for using wofi or bemenu based on config

This commit is contained in:
lelgenio 2020-10-18 03:01:39 -03:00
parent eb787b093a
commit 0576a060cc

View file

@ -1,6 +1,11 @@
#!/bin/fish
# {%@@ if launcher == "wofi" @@%} #
command -qs wofi &&
exec wofi -d $argv
# {%@@ else @@%} #
command -qs bmenu &&
exec bmenu $argv
# {%@@ endif @@%} #
notify-send "Error" "Launcher program missing"