Add a shortcut for caps lock if needed

This commit is contained in:
Anthony Rose 2021-05-11 12:09:55 +01:00
parent 24445bcf7a
commit f83c3d798f

View file

@ -26,7 +26,7 @@ set_keyboard_and_language () {
layouts="[$en, $fr]" layouts="[$en, $fr]"
fi fi
gsettings set org.gnome.desktop.input-sources sources "$layouts" gsettings set org.gnome.desktop.input-sources sources "$layouts"
gsettings set org.gnome.desktop.input-sources xkb-options "['compose:caps']" gsettings set org.gnome.desktop.input-sources xkb-options "['lv3:ralt_switch', 'compose:caps', 'shift:both_capslock']"
} }
set_keyboard_and_language set_keyboard_and_language