mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-23 23: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
|