Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shatur/akd
A keyboard userspace daemon :smiling_imp:.
https://github.com/shatur/akd
daemon i3-status keyboard xlib
Last synced: about 1 month ago
JSON representation
A keyboard userspace daemon :smiling_imp:.
- Host: GitHub
- URL: https://github.com/shatur/akd
- Owner: Shatur
- License: gpl-3.0
- Created: 2019-10-26T19:03:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-16T21:33:47.000Z (over 2 years ago)
- Last Synced: 2024-08-07T18:28:02.527Z (3 months ago)
- Topics: daemon, i3-status, keyboard, xlib
- Language: C++
- Homepage:
- Size: 152 KB
- Stars: 9
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Advanced Keyboard Daemon
[![GitHub (pre-)release](https://img.shields.io/github/release/Shatur95/akd/all.svg)](https://github.com/Shatur95/akd/releases)
**Advanced Keyboard Daemon** is a small and efficient keyboard daemon for X11 written in C++17.
## Content
- [Advanced Keyboard Daemon](#advanced-keyboard-daemon)
- [Content](#content)
- [Features](#features)
- [Dependencies](#dependencies)
- [Installation](#installation)
- [Arch Linux, Manjaro, Chakra etc.](#arch-linux-manjaro-chakra-etc)
- [Manual building](#manual-building)## Features
- Remember different keyboard layouts and groups for each window.
- Switch layouts by shortcut.
- Layout configuration.
- Print group to `stdout` on change (or just once and exit).
- Low memory consumption (~350 KB).Read `man akd` for more information or pass `-h` / `--help` as argument.
**Note:** We use X11 naming convention: group is the keyboard language, layout is the set of languages.
## Dependencies
**Arch Linux:** boost cmake libx11
## Installation
### Arch Linux, Manjaro, Chakra etc.
:package: [Stable version in AUR](https://aur.archlinux.org/packages/akd)
```bash
git clone https://aur.archlinux.org/akd.git
cd akd
makepkg -si
```### Manual building
You can build **Advanced Keyboard Daemon** by using the following commands:
```bash
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Release ..
cmake --build .
```You will then get a binary named `akd`.
## Tips
### `i3bar` keyboard layout indicator
You can use example scripts in `contrib/` directory to add a keyboard layout indicator to your `i3bar`, if you use `i3status` as the status generator. For more information on how they work refer to [i3status docs](https://i3wm.org/docs/i3status.html).
Also, the scripts should be easily adaptable for other text-based status generators.