mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-15 23:59:25 +01:00
bash/usr-local-bin: add gearlever since it tends to make appimages less annoying
This commit is contained in:
parent
e8f418a36d
commit
0db5338732
13
bash/usr-local-bin/gearlever
Executable file
13
bash/usr-local-bin/gearlever
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -x
|
||||
if [ -f /usr/bin/gearlever ]; then
|
||||
/usr/bin/gearlever "$@"
|
||||
elif [ -f /var/lib/flatpak/exports/bin/it.mijorus.gearlever ]; then
|
||||
flatpak run it.mijorus.gearlever "$@"
|
||||
elif [ -f ~/.local/share/flatpak/exports/bin/it.mijorus.gearlever ]; then
|
||||
flatpak run --user it.mijorus.gearlever "$@"
|
||||
else
|
||||
print "Gearlever not found :("
|
||||
notify-send "Gearlever not found :("
|
||||
fi
|
||||
set +x
|
Loading…
Reference in New Issue
Block a user