Skip to content

Simple program for getting and setting current keyboard layout of the system using X11

License

Notifications You must be signed in to change notification settings

luminousmen/xkblang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xkblang

Build Status licence

Xkblang is a simple program for getting current keyboard layout. Primarily this program was written for i3blocks blocklet for getting current layout.

Installation

Xkblang written on pure C. The only dependency is libX11.

$ make
$ sudo make install

OR with deb packet:

$ dpkg -i xkblang_1.0-1.deb

Usage

$ xkblang -p
English (US)

For short version:

$ xkblang -ps
En

To list all available layouts:

$ xkblang -l
0. English (US)
1. Russian

To set layout:

$ xkblang -t 0

About

Simple program for getting and setting current keyboard layout of the system using X11

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published