mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-11-14 04:59:36 +01:00
10 lines
217 B
Plaintext
10 lines
217 B
Plaintext
|
#!/bin/bash
|
||
|
xprop -spy -root _XKB_RULES_NAMES | while read -r line; do
|
||
|
variant=$(echo $line | cut -d',' -f4 | tr -d '"')
|
||
|
if [[ "$variant" == " cdhpt" ]]; then
|
||
|
echo ""
|
||
|
else
|
||
|
echo ""
|
||
|
fi
|
||
|
done
|