Added script to install the X backend automatically

This commit is contained in:
Sasha Koshka 2023-05-02 22:25:54 -04:00 committed by Sasha Koshka
parent 69e73a7b84
commit 2e3af402d5

View File

@ -0,0 +1,15 @@
#!/bin/sh
pluginInstallPath="$HOME/.local/lib/nasin/plugins"
mkdir -p build
mkdir -p "$pluginInstallPath"
install() {
go build -buildmode=plugin -o "build/$1.so" "./plugins/$1" && \
cp build/x.so $pluginInstallPath
}
echo "... installing X backend"
install x
echo ".// done"