Files
dotfiles/hypr/bin/hyprlock/layout-status
T
2026-11-17 18:15:16 +07:00

5 lines
125 B
Bash

#!/bin/sh
layout="$(bat /etc/vconsole.conf | grep XKBLAYOUT | awk -F'=' '{print toupper($2)}')"
printf "%s  " "$layout"