From 9dad4088c9f30891ee3918078680e2b97d3cf3d0 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 5 Aug 2024 07:59:36 +0300 Subject: [PATCH] beeper wrapper: mention and start gearlever if the appimage isn't installed --- bash/usr-local-bin/beeper | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bash/usr-local-bin/beeper b/bash/usr-local-bin/beeper index 44ed222..e0615b7 100755 --- a/bash/usr-local-bin/beeper +++ b/bash/usr-local-bin/beeper @@ -5,7 +5,10 @@ set -x if [ -f ~/AppImages/beeper.appimage ]; then ~/AppImages/beeper.appimage --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@" else - print "Beeper not found :(" - notify-send "Beeper not found :(" + print "~/AppImages/beeper.appimage not found. Please install it through gearlever (default locaiton) or symlink it there." + 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 set +x