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.
 
 
Tait Hoyem bf304abff1
Add contrib from latest version
2 years ago
.github [remove] pr template 2 years ago
bin Add mode changer, Polkit -> Udev 2 years ago
contrib Add contrib from latest version 2 years ago
docs Update docs with newest version 2 years ago
src Attempt at working with optional keys 2 years ago
.gitignore [update] add server binary to gitignore 2 years ago
.rustfmt.toml [Create] rustfmt.toml 2 years ago
CODE_OF_CONDUCT.md [create] Code of conduct.md 2 years ago
CONTRIBUTING.md [update] Contributing.md 2 years ago
Cargo.lock Attempt at working with optional keys 2 years ago
Cargo.toml Attempt at working with optional keys 2 years ago
INSTALL.md Update docs with newest version 2 years ago
LICENSE move to permissive BSD 2-Clause "Simplified" License 2 years ago
Makefile Add mode changer, Polkit -> Udev 2 years ago
README.md swhkd -> sohkd 2 years ago
com.github.sohkd.pkexec.policy Update docs with newest version 2 years ago
release.sh [add] Automatic build script for github releases. 2 years ago
rust-toolchain.toml Update docs with newest version 2 years ago
sohkd.rules New name 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 sohkd in a tty.

Note: The project is a WIP.

BUT!! It does work right now Example config file.

Installation

See INSTALL.md for installing sohkd.

Running:

sohks &
sohkd

To refresh the config at runtime, make a script like so:

#!/bin/sh
killall sohkd
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.

Contributors:

Original developers:

  • Shinyzenith <aakashsensharma@gmail.com>
  • Angelo Fallaria <ba.fallaria@gmail.com>
  • EdenQwQ <lsahlm1eden@gmail.com>

Adapters:

  • Tait Hoyem <tait@tait.tech>