Wintergreen is now a plugin
This commit is contained in:
@@ -1,14 +1,6 @@
|
||||
#!/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
|
||||
}
|
||||
. scripts/plugin.sh
|
||||
|
||||
echo "... installing X backend"
|
||||
install x
|
||||
|
||||
7
scripts/install-wintergreen.sh
Normal file
7
scripts/install-wintergreen.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
. scripts/plugin.sh
|
||||
|
||||
echo "... installing Wintergreen theme"
|
||||
install wintergreen
|
||||
echo ".// done"
|
||||
11
scripts/plugin.sh
Normal file
11
scripts/plugin.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user