summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-10-04 20:43:20 -0500
committerstkhan <personal@slickd.xyz>2022-10-04 20:43:20 -0500
commit654a30bb363c03d0dd7bdd4aa0c1f3a05a1ccb78 (patch)
tree2c3e16d286054457912f7311cf8c7249d8fcef2f /scripts
parent2524c955e2c51d62a59053a4b06b03a44415085a (diff)
update scripts
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/plugin.sh6
-rwxr-xr-xscripts/set_vars.sh4
2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/plugin.sh b/scripts/plugin.sh
new file mode 100755
index 0000000..f5aa0ab
--- /dev/null
+++ b/scripts/plugin.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+mkdir -p plugins/.inuse
+echo "Enter path to plugin:" && read file
+cp $file plugins/.inuse/
+patch -p1 $file
diff --git a/scripts/set_vars.sh b/scripts/set_vars.sh
new file mode 100755
index 0000000..aab7c36
--- /dev/null
+++ b/scripts/set_vars.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+source ./sarc.config
+sed -i "s/SARC_TERMINAL/$sarc_browser/g" wm/dwm-6.3/config.h