dotfiles/i3/statusbar.sh

9 lines
169 B
Bash
Raw Normal View History

2017-03-23 21:42:21 +00:00
#!/bin/bash
i3status --config ~/.i3status.conf | while :
do
read line
LG=$(setxkbmap -query|awk '/layout/{print $2}')
echo "LG: $LG | $line" || exit 1
done