summaryrefslogtreecommitdiff
path: root/config/openbox/run-cortile
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2024-11-02 01:22:27 +0100
committernavewindre <boneyaard@gmail.com>2024-11-02 01:22:27 +0100
commit7b379f4f2a7be47e5c055597fc71773099fe2591 (patch)
treed0b0c15b4791dd8cd206dbcd3a7ed5c8f5aac55e /config/openbox/run-cortile
parentd094ad930e187c3cc83c7682f1afe74639f8e81e (diff)
add cortile for arm64
Diffstat (limited to 'config/openbox/run-cortile')
-rwxr-xr-xconfig/openbox/run-cortile9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/openbox/run-cortile b/config/openbox/run-cortile
new file mode 100755
index 0000000..b504216
--- /dev/null
+++ b/config/openbox/run-cortile
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+ARCH=$(lscpu | awk -F ':' 'NR==1 {print $NF}' | tr -d ' ')
+if [[ "$ARCH" == "x86_64" ]]; then
+ ./cortile-x86
+fi
+if [[ "$ARCH" == "aarch64" ]]; then
+ ./cortile-arm64
+fi