fix input again!!!!

This commit is contained in:
2025-06-23 16:18:36 +03:00
parent aced665fbe
commit 1032846591
2 changed files with 7 additions and 17 deletions

View File

@@ -1,16 +1,6 @@
KBLANG=$(hyprctl getoption input:kb_layout | awk 'NR==1{print $2}')
if [ "$KBLANG" = "us" ] ; then
hyprctl --batch "\
keyword input:kb_layout lv;\
keyword input:kb_variant apostrophe;"
# keyword input:kb_options compose:apostrophe;"
notify-send -u low "Tastatūra" "🇱🇻 Valoda: Latviešu"
exit
elif [ "$KBLANG" = "lv" ] ; then
hyprctl --batch "\
keyword input:kb_layout us;\
keyword input:kb_variant \"\";"
# keyword input:kb_options compose:apostrophe;"
notify-send -u low "Tastatūra" "🇺🇸 Valoda: Angļu"
exit
fi
# hyprctl switchxkblayout semico--usb-gaming-keyboard- next
hyprctl switchxkblayout current next
notify-send -u low "Tastatūra" "Valoda mainīta!"