neodotfiles/user/.config/awesome/ui/widgets/layout
2022-12-06 01:40:36 -04:00

3 lines
118 B
Bash
Executable file

#!/bin/bash
layout=$(setxkbmap -query | grep -oP 'layout:\s*\K\w+');
echo "$layout" | tr '[:lower:]' '[:upper:]';