This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/scripts/wdmenu

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"