summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/openbox/autostart2
-rwxr-xr-xconfig/openbox/cortile-arm64bin0 -> 8585216 bytes
-rwxr-xr-xconfig/openbox/cortile-x86bin0 -> 9052160 bytes
-rwxr-xr-xconfig/openbox/run-cortile9
4 files changed, 10 insertions, 1 deletions
diff --git a/config/openbox/autostart b/config/openbox/autostart
index 105b3bf..06db5ec 100644
--- a/config/openbox/autostart
+++ b/config/openbox/autostart
@@ -10,7 +10,7 @@ xcape -e 'Super_L=Control_L|Shift_L|Alt_L|Super_L|D' &
spacefm --desktop &
xscreensaver -no-splash &
nm-applet &
-$CONFDIR/cortile &
+$CONFDIR/run-cortile &
# fuck your stupid telemetry
diff --git a/config/openbox/cortile-arm64 b/config/openbox/cortile-arm64
new file mode 100755
index 0000000..4087f3b
--- /dev/null
+++ b/config/openbox/cortile-arm64
Binary files differ
diff --git a/config/openbox/cortile-x86 b/config/openbox/cortile-x86
new file mode 100755
index 0000000..3eff881
--- /dev/null
+++ b/config/openbox/cortile-x86
Binary files differ
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