Files
nix/scripts/toggle-language.sh
2025-07-07 14:30:33 +03:00

7 lines
216 B
Bash
Executable File

KBLANG=$(hyprctl getoption input:kb_layout | awk 'NR==1{print $2}')
# hyprctl switchxkblayout semico--usb-gaming-keyboard- next
hyprctl switchxkblayout current next
notify-send -u low "Keyboard" "Language changed"