summaryrefslogtreecommitdiff
path: root/st/deploy.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-07-15 23:30:56 +0100
committerdavidovski <david@davidovski.xyz>2023-07-15 23:30:56 +0100
commit4f5d2bab933323cab147e57a3f04dd128049822a (patch)
treeea0e00f333014a076807dc8004e57d300510b098 /st/deploy.sh
parentb85872dfc933ff3bd2e95303d8327c357c8b9ca6 (diff)
add st as default terminal
Diffstat (limited to 'st/deploy.sh')
-rwxr-xr-xst/deploy.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/st/deploy.sh b/st/deploy.sh
new file mode 100755
index 0000000..bae1ef3
--- /dev/null
+++ b/st/deploy.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+wd="$HOME/.local/src/st"
+
+[ ! -d "$HOME/.local/src" ] && mkdir -p "$wd"
+
+git clone https://git.suckless.org/st "$wd"
+
+patch -d "$wd" -p1 -i davidovski.patch
+
+make -C "$wd"
+doas make -C "$wd" install PREFIX=/usr