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

10 lines
217 B
Plaintext
Raw Normal View History

2023-12-25 11:21: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