neodotfiles/user/.config/suckless/dwmblocks/scripts/block_layout
2023-05-26 02:32:03 -04:00

3 lines
120 B
Bash
Executable file

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