You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.3 KiB

2 years ago
# SOHKD
2 years ago
**S**imple **O**dilia **H**ot**K**ey **D**aemon
2 years ago
*A next-generation hotkey daemon for Wayland/X11 written in Rust.*
2 years ago
2 years ago
sohkd is a display protocol-independent hotkey daemon made in Rust (based off the original, [swhkd](https://waycrate.github.io/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](https://odilia.app) to provide modal access to key bindings.
2 years ago
Because sohkd can be used anywhere, the same sohkd config can be used across Xorg or Wayland desktops, and you can even use sohkd in a tty.
**Note: The project is a WIP.**
2 years ago
**BUT!! It does work right now [Example config file](./docs/sohkdrc).**
## Installation
2 years ago
See [INSTALL.md](./docs/INSTALL.md) for installing sohkd.
## Running:
2 years ago
```bash
2 years ago
sohks &
2 years ago
sohkd
2 years ago
```
2 years ago
To refresh the config at runtime, make a script like so:
```bash
#!/bin/sh
2 years ago
killall sohkd
sohkd
2 years ago
```
Mark it as executable using `chmod +x <path_to_refresh_script>`.
Then call it using `setsid -f <path_to_refresh_script>`.
2 years ago
A better implementation using signals will be developed later.
2 years ago
## Contributors:
Original developers:
2 years ago
* Shinyzenith `<aakashsensharma@gmail.com>`
* Angelo Fallaria `<ba.fallaria@gmail.com>`
* EdenQwQ `<lsahlm1eden@gmail.com>`
2 years ago
Adapters:
2 years ago
* Tait Hoyem `<tait@tait.tech>`