From b13e4e4a5b80a626af6739ee94df7ac704a9944e Mon Sep 17 00:00:00 2001 From: aura Date: Sat, 2 Nov 2024 03:24:09 +0100 Subject: baba --- config/openbox/autostart | 2 +- config/openbox/run-cortile | 4 ++-- lang.sh | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config/openbox/autostart b/config/openbox/autostart index 06db5ec..e2495cb 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/run-cortile & +$CONFDIR/run-cortile # fuck your stupid telemetry diff --git a/config/openbox/run-cortile b/config/openbox/run-cortile index b504216..23f8bae 100755 --- a/config/openbox/run-cortile +++ b/config/openbox/run-cortile @@ -2,8 +2,8 @@ ARCH=$(lscpu | awk -F ':' 'NR==1 {print $NF}' | tr -d ' ') if [[ "$ARCH" == "x86_64" ]]; then - ./cortile-x86 + $("$HOME/.config/openbox/cortile-x86") fi if [[ "$ARCH" == "aarch64" ]]; then - ./cortile-arm64 + $("$HOME/.config/openbox/cortile-arm64") fi diff --git a/lang.sh b/lang.sh index 73aeca1..8b9fab1 100755 --- a/lang.sh +++ b/lang.sh @@ -2,6 +2,9 @@ ENGINES=$(ibus engine) case "$ENGINES" in + *en*) + echo "EN" + ;; *pl*) echo "PL" ;; -- cgit v1.2.3