2024-08-04 08:12:52 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
|
|
|
2024-08-11 09:25:59 +02:00
|
|
|
if [ "$(lsb_release -si)" == "Arch" ]; then
|
|
|
|
echo "Remember! sudo pacman -S fuse2"
|
|
|
|
fi
|
|
|
|
|
2024-08-04 08:12:52 +02:00
|
|
|
# This assumes the usage of GearLever with the default directory.
|
|
|
|
if [ -f ~/AppImages/beeper.appimage ]; then
|
|
|
|
~/AppImages/beeper.appimage --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@"
|
|
|
|
else
|
2024-08-05 06:59:36 +02:00
|
|
|
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
|
2024-08-04 08:12:52 +02:00
|
|
|
fi
|
|
|
|
set +x
|