From 908ed262357494387c6054466dad93b92b795339 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 4 Aug 2024 09:12:52 +0300 Subject: [PATCH] bash/usr-local-bin/beeper: wrapper that won't keep eating my flags --- bash/usr-local-bin/beeper | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bash/usr-local-bin/beeper diff --git a/bash/usr-local-bin/beeper b/bash/usr-local-bin/beeper new file mode 100755 index 0000000..44ed222 --- /dev/null +++ b/bash/usr-local-bin/beeper @@ -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