neodotfiles/user/.config/suckless/dwmblocks/scripts/block_layout
2022-12-19 20:15:21 -04:00

3 lines
89 B
Bash
Executable file

#!/bin/bash
layout=$(setxkbmap -query | grep -oP 'layout:\s*\K\w+')
echo "key: $layout "