Adding wrappers for various programs
This commit is contained in:
parent
b96369be23
commit
9388a66727
4 changed files with 15 additions and 20 deletions
4
apsalar/heroic-run
Executable file
4
apsalar/heroic-run
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
/usr/bin/heroic-run --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto
|
||||||
|
|
6
apsalar/nc-sync
Executable file
6
apsalar/nc-sync
Executable file
|
@ -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
|
4
apsalar/profanity-autostart
Executable file
4
apsalar/profanity-autostart
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Wrapper for launching profanity via bemenu
|
||||||
|
# `--class` sets wayland `app_id`
|
||||||
|
kitty --class profanity profanity
|
|
@ -1,23 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
arRPCdir="$HOME/.local/lib/arRPC"
|
|
||||||
# check if arRPC is installed and autoinstall if necessary
|
|
||||||
|
|
||||||
install_arRPC () {
|
$HOME/.local/share/vesktop/vesktop --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto
|
||||||
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
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue