dotfiles/scripts/status/layoutstat
2023-08-03 18:22:46 -06:00

10 lines
216 B
Bash
Executable file

#!/bin/sh
# Get current keyboard layout
layout="$( \
setxkbmap -query | grep layout | awk '{print $2}' |
sed 's/latam/la/' \
)"
echo "$layout"
notify-send -u low --replace-id=12 "󰌌 Layout" "$layout"