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
+393 -399
View File
File diff suppressed because it is too large Load Diff
+1 -7
View File
@@ -4232,9 +4232,7 @@ jq -c -n \
Count keyboards and enable numlock if more then 1, else disable 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 #+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) # Tel toetsenborden met volledige toetsset (geen media-only apparaten)
COUNT=$(libinput list-devices 2>/dev/null \ COUNT=$(libinput list-devices | grep -c "^Device:.*[Kk]eyboard")
| grep -A5 "keyboard" \
| grep -c "kbd")
# Of via xinput / /proc alternatief: # Of via xinput / /proc alternatief:
# COUNT=$(cat /proc/bus/input/devices | grep -B5 'KEY=.*[a-f0-9]\{10\}' | grep -c 'Name=') # 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 else
numlockx off numlockx off
fi fi
echo $COUNT
echo $(libinput list-devices \
| grep -A5 "Keyboard" \
| grep -c "kbd")
#+END_SRC #+END_SRC
** =generated/.config/wofi/scripts/wofi-launcher.sh= ** =generated/.config/wofi/scripts/wofi-launcher.sh=
@@ -1,9 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
# Tel toetsenborden met volledige toetsset (geen media-only apparaten) # Tel toetsenborden met volledige toetsset (geen media-only apparaten)
COUNT=$(libinput list-devices 2>/dev/null \ COUNT=$(libinput list-devices | grep -c "^Device:.*[Kk]eyboard")
| grep -A5 "keyboard" \
| grep -c "kbd")
# Of via xinput / /proc alternatief: # Of via xinput / /proc alternatief:
# COUNT=$(cat /proc/bus/input/devices | grep -B5 'KEY=.*[a-f0-9]\{10\}' | grep -c 'Name=') # COUNT=$(cat /proc/bus/input/devices | grep -B5 'KEY=.*[a-f0-9]\{10\}' | grep -c 'Name=')
@@ -14,7 +12,3 @@ if [ "$COUNT" -ge 2 ]; then
else else
numlockx off numlockx off
fi fi
echo $COUNT
echo $(libinput list-devices \
| grep -A5 "Keyboard" \
| grep -c "kbd")