dotfiles/.config/eww/bar/scripts/layout

10 lines
217 B
Plaintext
Raw Normal View History

2022-03-25 17:10:57 +01:00
#!/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