Tait Hoyem
80f4fde12d
|
2 years ago | |
---|---|---|
.github | 2 years ago | |
contrib | 2 years ago | |
docs | 2 years ago | |
src | 2 years ago | |
.gitignore | 2 years ago | |
.rustfmt.toml | 2 years ago | |
CODE_OF_CONDUCT.md | 2 years ago | |
CONTRIBUTING.md | 2 years ago | |
Cargo.lock | 2 years ago | |
Cargo.toml | 2 years ago | |
LICENSE | 2 years ago | |
Makefile | 2 years ago | |
README.md | 2 years ago | |
release.sh | 2 years ago | |
sohkd.rules | 2 years ago |
README.md
SOHKD
Simple Odilia HotKey Daemon
A next-generation hotkey daemon for Wayland/X11 written in Rust.
sohkd is a display protocol-independent hotkey daemon made in Rust (based off the original, swhkd). sohkd uses an easy-to-use configuration system inspired by swhkd so you can easily add or remove hotkeys, and it integrates with the Odilia screen reader to provide modal access to key bindings.
Because sohkd can be used anywhere, the same sohkd config can be used across Xorg or Wayland desktops, and you can even use swhkd in a tty.
Note: The project is a WIP. BUT!! It does work right now however it's not a drop-in replacement yet. Example config file.
Installation
See INSTALL.md for installing sohkd.
Running:
sohks &
pkexec sohkd
To refresh the config at runtime, make a script like so:
#!/bin/sh
sudo killall sohkd
pkexec sohkd
Mark it as executable using chmod +x <path_to_refresh_script>
.
Then call it using setsid -f <path_to_refresh_script>
.
A better implementation using signals will be developed later.