Skip to content

Files

Latest commit

1edb8d1 · Jul 22, 2019

History

History
This branch is 97 commits behind vivien/i3blocks-contrib:master.

kbdd_layout

kbdd_layout

Show keyboard layout using dbus and kbdd.

view of block

kbdd is a useful daemon made for lightweight window managers. It works with xkb and remembers layouts for each window.

Requirements

Dependencies: kbdd (typically in package of the same name).

You can set your keyboard configuration e.g. with

exec --no-startup-id "setxkbmap -layout us,ru -option 'grp:ctrl_alt_toggle'"

in your i3 config. The blocklet must be restarted if you execute another setxkbmap command, or it may give incorrect results.

Config

[kbdd_layout]
command=$SCRIPT_DIR/kbdd_layout
interval=persist