https://github.com/spektom/i3status-kbd-layout
Keyboard layout indication for i3status bar
https://github.com/spektom/i3status-kbd-layout
Last synced: 3 months ago
JSON representation
Keyboard layout indication for i3status bar
- Host: GitHub
- URL: https://github.com/spektom/i3status-kbd-layout
- Owner: spektom
- Created: 2020-07-28T11:18:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-18T11:17:58.000Z (almost 5 years ago)
- Last Synced: 2025-01-20T16:53:31.442Z (5 months ago)
- Language: C++
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
i3status-kbd-layout
===================Keyboard layout indication for [i3status](https://github.com/i3/i3status) bar.
## Installing
Compile the `i3status-kbd-layout` program:
mkdir build
cd build
cmake ..
makeCopy it to some place in `$PATH`, for example:
cp i3status-kbd-layout /usr/local/bin/
## Configuration
Add new `read_file` section to your `i3status` configuration:
order += "read_file kbd_layout"
...
read_file kbd_layout {
path = "~/.i3status-kbd-layout"
}The above section lets `i3status` bar read new keyboard layout from that path, and show it.
Get `i3status-kbd-layout` started automatically when `i3wm` starts by adding the following line into `i3wm` configuration:
exec --no-startup-id i3status-kbd-layout