neodotfiles/user/.config/awesome/ui/widgets/layout

4 lines
118 B
Text
Raw Normal View History

#!/bin/bash
2022-07-01 06:06:16 +00:00
layout=$(setxkbmap -query | grep -oP 'layout:\s*\K\w+');
2022-09-14 00:44:31 +00:00
echo " $layout" | tr '[:lower:]' '[:upper:]';