Skip to content

thusoy/rotate-keyboard-layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rotate-keyboard-layout

Simple script to rotate between keyboard layouts in X.

Usage

Pass in the layouts you want to rotate between, then bind that command to a keyboard shortcut or however you want to rotate between the layouts.

$ echo Current layout: $(setxkbmap -query | grep layout | cut -d: -f2)
Current layout: en
$ ./rotate_keyboard_layout.py en,no
$ echo Current layout: $(setxkbmap -query | grep layout | cut -d: -f2)
Current layout: no
$ ./rotate_keyboard_layout.py en,no
$ echo Current layout: $(setxkbmap -query | grep layout | cut -d: -f2)
Current layout: en

About

Simple script to rotate between keyboard layouts in X

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages