dotfiles/.local/scripts/9998_lang

6 lines
64 B
Bash

#!/bin/bash
lang=$(xkblayout-state print %s)
echo "$lang"