in latvian!!!!

This commit is contained in:
2025-06-23 15:53:06 +03:00
parent 2afeeb829e
commit aced665fbe
13 changed files with 45 additions and 32 deletions

View File

@@ -1,17 +1,16 @@
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 "OCbwoy3's Dotfiles" "Keyboard Layout: Latvian"
exit
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;"
# i have no fucking idea how to unset input:kb_variant with hyprctl
hyprctl reload
notify-send -u low "OCbwoy3's Dotfiles" "Keyboard Layout: English"
exit
fi
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