aboutsummaryrefslogtreecommitdiff
path: root/.config/cow/scripts
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-08-28 17:29:58 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-08-28 17:29:58 +0100
commitf94719ddfa7fc5fd6bf8abc878c1f3193d1f5888 (patch)
treee0934dfa54ebeb0e33ad9c4490dedc03a838f1d5 /.config/cow/scripts
parented6f4744245fc6213774817e284f0775570d071b (diff)
Fixed keyboard layout script to display correctly after CoW changes.
Diffstat (limited to '.config/cow/scripts')
-rwxr-xr-x.config/cow/scripts/keyboard-layout.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/cow/scripts/keyboard-layout.sh b/.config/cow/scripts/keyboard-layout.sh
index 7b10e68..bc657c8 100755
--- a/.config/cow/scripts/keyboard-layout.sh
+++ b/.config/cow/scripts/keyboard-layout.sh
@@ -1,6 +1,6 @@
#!/bin/sh
# Get keyboard layout name
-echo " $(moocow show keyboard-layout | jq -r .data | awk -F '[()]' '{print $2}')" | xargs
-
+layout="$(moocow show keyboard-layout | jq -r .data | awk -F '[()]' '{print $2}' | awk NF | xargs)"
+echo " "$layout