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