Adding wrappers for various programs
This commit is contained in:
parent
b96369be23
commit
9388a66727
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
/usr/bin/heroic-run --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto
|
||||
|
|
@ -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
|
|
@ -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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue