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/launcher

18 lines
381 B
Fish
Executable file

#!/bin/fish
test -n "$SWAYSOCK" && swaymsg fullscreen off > /dev/null
# {%@@ if launcher == "wofi" @@%} #
command -qs wofi &&
exec wofi \
--show drun \
--allow-images \
--no-actions \
--prompt 'Iniciar: ' \
# {%@@ else @@%} #
command -qs bmenu &&
exec bmenu run
# {%@@ endif @@%} #
notify-send "Error" "Launcher program missing"