Skip to content

Keyboard layout indicator using xkblayout state

Lukáš Mandák edited this page Oct 18, 2015 · 1 revision

You can use this snippet to create a simple keyboard layout indicator using command line utility xkblayout-state.

status.register("shell",
    command = "xkblayout-state print %s",
    interval = 5,
    on_leftclick = "xkblayout-state set +1",
    on_rightclick = "run",
    )
Clone this wiki locally