mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-07-31 11:07:21 +02:00
Compare commits
No commits in common. "76a8b5de37ac1a77c759930825200e7373efc8bd" and "b858379a099a10cdc60b36511585741e79a14691" have entirely different histories.
76a8b5de37
...
b858379a09
@ -1,29 +1,16 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [ -f /etc/os-release ]; then
|
if [ "$(lsb_release -si)" == "Arch" ]; then
|
||||||
. /etc/os-release
|
echo "Remember! sudo pacman -S fuse2"
|
||||||
if [ "$ID" == "arch" ]; then
|
|
||||||
echo "Remember! sudo pacman -S fuse2"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# This assumes the usage of GearLever with the default directory.
|
# This assumes the usage of GearLever with the default directory.
|
||||||
if [ -f ~/AppImages/beeper.appimage ]; then
|
if [ -f ~/AppImages/beeper.appimage ]; then
|
||||||
~/AppImages/beeper.appimage --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@"
|
~/AppImages/beeper.appimage --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||||
# Or using Tails with portable installation
|
|
||||||
elif [ -f "$HOME/Persistent/AppImages/beeper.appimage" ]; then
|
|
||||||
# Ensure it has the portable directory instead of thrwing the files on
|
|
||||||
# temporary media
|
|
||||||
mkdir -vp "$HOME/Persistent/AppImages/beeper.appimage.home"
|
|
||||||
# We are using Tor, so we are American English, UTC is enforced anyway,
|
|
||||||
# but probably won't hurt.
|
|
||||||
export LC_ALL=en_US.utf8
|
|
||||||
export TZ=UTC
|
|
||||||
$HOME/Persistent/AppImages/beeper.appimage --ozone-platform=wayland --enable-features=WaylandWindowDecorations --proxy-server=socks5://127.0.0.1:9050 "$@"
|
|
||||||
else
|
else
|
||||||
print "~/AppImages/beeper.appimage not found. Please install it through gearlever (default location) or symlink it there."
|
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 location) 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
|
if hash gearlever 2> /dev/null; then
|
||||||
gearlever
|
gearlever
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user