neodotfiles/user/.config/awesome/ui/custom-widgets/layout
2022-12-04 21:49:49 -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:]';