add option for using wofi or bemenu based on config
This commit is contained in:
parent
eb787b093a
commit
0576a060cc
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Reference in a new issue