6 lines
202 B
Bash
Executable file
6 lines
202 B
Bash
Executable file
#!/bin/sh
|
|
layout=$(hyprctl devices -j | jq -r '.keyboards[] | select(.name == "josefadamcik-sofle") | .active_keymap')
|
|
case "$layout" in
|
|
*Hebrew*) echo " HE" ;;
|
|
*) echo " EN" ;;
|
|
esac
|