random script dump
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mykblayouts 271B

12345678910
  1. #!/usr/bin/env zsh
  2. layouts='us(altgr-intl),ru(typewriter)'
  3. (($#)) \
  4. && opts='grp:win_space_toggle,compose:menu' \
  5. || opts='grp:win_space_toggle,compose:menu,ctrl:nocaps'
  6. # reset this before setting anything
  7. setxkbmap us -option
  8. setxkbmap $layouts -option $opts