neodotfiles/user/.config/suckless/dwmblocks/scripts/layout

3 lines
91 B
Bash
Executable file

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