Regenerated

This commit is contained in:
2026-04-29 22:49:35 +02:00
parent c5a15e1ed4
commit e976e189e3
3 changed files with 395 additions and 413 deletions
+1 -7
View File
@@ -4232,9 +4232,7 @@ jq -c -n \
Count keyboards and enable numlock if more then 1, else disable
#+BEGIN_SRC sh :tangle generated/.config/shared/scripts/numlock-check.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never
# Tel toetsenborden met volledige toetsset (geen media-only apparaten)
COUNT=$(libinput list-devices 2>/dev/null \
| grep -A5 "keyboard" \
| grep -c "kbd")
COUNT=$(libinput list-devices | grep -c "^Device:.*[Kk]eyboard")
# Of via xinput / /proc alternatief:
# COUNT=$(cat /proc/bus/input/devices | grep -B5 'KEY=.*[a-f0-9]\{10\}' | grep -c 'Name=')
@@ -4245,10 +4243,6 @@ if [ "$COUNT" -ge 2 ]; then
else
numlockx off
fi
echo $COUNT
echo $(libinput list-devices \
| grep -A5 "Keyboard" \
| grep -c "kbd")
#+END_SRC
** =generated/.config/wofi/scripts/wofi-launcher.sh=