mirror of
https://github.com/bvanroll/_dotfiles.git
synced 2025-08-29 20:12:42 +00:00
31 lines
667 B
Markdown
31 lines
667 B
Markdown
# kbdd_layout
|
|
|
|
Show keyboard layout using dbus and [kbdd](https://github.com/qnikst/kbdd).
|
|
|
|

|
|
|
|
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
|
|
|
|
```ini
|
|
[kbdd_layout]
|
|
command=$SCRIPT_DIR/kbdd_layout
|
|
interval=persist
|
|
```
|