19 lines
385 B
Bash
Executable file
19 lines
385 B
Bash
Executable file
#!/bin/sh
|
|
|
|
test -n "$SWAYSOCK" && swaymsg fullscreen off > /dev/null
|
|
|
|
# {%@@ if launcher == "wofi" @@%} #
|
|
which wofi &> /dev/null &&
|
|
exec wofi \
|
|
--show drun \
|
|
--allow-images \
|
|
--no-actions \
|
|
--prompt 'Iniciar: ' \
|
|
|
|
# {%@@ else @@%} #
|
|
which bmenu &> /dev/null &&
|
|
exec bmenu run
|
|
# {%@@ endif @@%} #
|
|
|
|
notify-send "Error" "Launcher program missing"
|