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.
 
 
Shinyzenith 71c9645152
[update] add server binary to gitignore
2 years ago
.github/ISSUE_TEMPLATE [merge] Merge rust-rewrite branch to main 2 years ago
assets [update] Update readme, update swhkd logo 2 years ago
src [update] log on removal of socket file. 2 years ago
.gitignore [update] add server binary to gitignore 2 years ago
.rustfmt.toml [Create] rustfmt.toml 2 years ago
Cargo.lock [feature] Implement UNIX domain socket IPC between swhks ( server ) & swhkd ( daemon ) 2 years ago
Cargo.toml [feature] Implement UNIX domain socket IPC between swhks ( server ) & swhkd ( daemon ) 2 years ago
LICENSE move to permissive BSD 2-Clause "Simplified" License 2 years ago
Makefile [feature] Implement UNIX domain socket IPC between swhks ( server ) & swhkd ( daemon ) 2 years ago
README.md [update] readme 2 years ago
swhkd.rules [feature] Polkit rule for authentication. 2 years ago

README.md

SWHKD

A next-generation hotkey daemon for Wayland/X11 written in Rust.

SWHKD

Simple Wayland HotKey Daemon

swhkd is a display protocol-independent hotkey daemon made in Rust. swhkd uses an easy-to-use configuration system inspired by sxhkd so you can easily add or remove hotkeys.

It is also a drop-in replacement for sxhkd, meaning, your sxhkd config file is also compatible with swhkd.

Because swhkd can be used anywhere, the same swhkd config can be used across Xorg or Wayland desktops, and you can even use swhkd in a tty.

Note: The project isn't complete yet.

Dependencies:

Runtime:

  • Policy Kit Daemon ( polkit )

Compile time:

  • rustup
  • make

Compiling:

  • git clone https://github.com/shinyzenith/swhkd
  • make setup
  • make clean
    • make for a musl compile.
    • make glibc for a glibc compile.
  • sudo make install

Running:

pkexec swhkd

Support server:

https://discord.gg/KKZRDYrRYW

Contributors: