beeper wrapper: mention and start gearlever if the appimage isn't installed

This commit is contained in:
Aminda Suomalainen 2024-08-05 07:59:36 +03:00
parent 908ed26235
commit 9dad4088c9
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,10 @@ set -x
if [ -f ~/AppImages/beeper.appimage ]; then if [ -f ~/AppImages/beeper.appimage ]; then
~/AppImages/beeper.appimage --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@" ~/AppImages/beeper.appimage --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@"
else else
print "Beeper not found :(" print "~/AppImages/beeper.appimage not found. Please install it through gearlever (default locaiton) or symlink it there."
notify-send "Beeper not found :(" notify-send "~/AppImages/beeper.appimage not found. Please install it through gearlever (default locaiton) or symlink it there."
if hash gearlever 2> /dev/null; then
gearlever
fi
fi fi
set +x set +x