diff options
Diffstat (limited to 'config/openbox/run-cortile')
| -rwxr-xr-x | config/openbox/run-cortile | 9 |
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 |
