14 lines
287 B
Bash
Executable File
14 lines
287 B
Bash
Executable File
#!/bin/sh
|
|
|
|
test -n "$SWAYSOCK" && swaymsg fullscreen off > /dev/null
|
|
|
|
# {%@@ if launcher == "wofi" @@%} #
|
|
which wofi &> /dev/null &&
|
|
exec wofi -d $@
|
|
# {%@@ else @@%} #
|
|
which bemenu &> /dev/null &&
|
|
exec bmenu $@
|
|
# {%@@ endif @@%} #
|
|
|
|
notify-send "Error" "Launcher program missing"
|