diff --git a/apsalar/heroic-run b/apsalar/heroic-run new file mode 100755 index 0000000..ca1d7e4 --- /dev/null +++ b/apsalar/heroic-run @@ -0,0 +1,4 @@ +#!/bin/sh + +/usr/bin/heroic-run --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto + diff --git a/apsalar/nc-sync b/apsalar/nc-sync new file mode 100755 index 0000000..8005686 --- /dev/null +++ b/apsalar/nc-sync @@ -0,0 +1,6 @@ +#!/bin/sh + +NC_DIR="$HOME/Nextcloud" +NC_URL="https://cloud.criminallycute.fi" + +nextcloudcmd -u $NC_USER -p $NC_PASS $NC_DIR $NC_URL diff --git a/apsalar/profanity-autostart b/apsalar/profanity-autostart new file mode 100755 index 0000000..a46921e --- /dev/null +++ b/apsalar/profanity-autostart @@ -0,0 +1,4 @@ +#!/bin/sh +# Wrapper for launching profanity via bemenu +# `--class` sets wayland `app_id` +kitty --class profanity profanity diff --git a/apsalar/vesktop b/apsalar/vesktop index d695659..27ebe38 100755 --- a/apsalar/vesktop +++ b/apsalar/vesktop @@ -1,23 +1,4 @@ #!/bin/sh -arRPCdir="$HOME/.local/lib/arRPC" -# check if arRPC is installed and autoinstall if necessary -install_arRPC () { - git clone https://github.com/OpenAsar/arRPC "$arRPCdir" - cd "$arRPCdir" && npm install -} - -if [ ! -d "$arRPCdir" ]; then - install_arRPC -fi - -# start arRPC -cd "$arRPCdir" && node src & -arRPCPID=$(pgrep -f 'node src') - -# start Vesktop -/usr/local/bin/vesktop - -# exit arRPC when Vesktop closes -pkill -9 $arRPCPID +$HOME/.local/share/vesktop/vesktop --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto