bash/usr-local-bin/beeper: wrapper that won't keep eating my flags

This commit is contained in:
Aminda Suomalainen 2024-08-04 09:12:52 +03:00
parent 0db5338732
commit 908ed26235
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

11
bash/usr-local-bin/beeper Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -x
# 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
print "Beeper not found :("
notify-send "Beeper not found :("
fi
set +x