Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (14 sloc) 0.339 kB
#!/bin/sh
# LICENSE: PUBLIC DOMAIN
# switch between us and ru layouts
# If an explicit layout is provided as an argument, use it. Otherwise, select the next layout from
# the set [us, ru].
layout=$(setxkbmap -query | awk 'END{print $2}')
case $layout in
us)
setxkbmap ru
;;
*)
setxkbmap us
;;
esac
Jump to Line
Something went wrong with that request. Please try again.