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 cae5b1f8af
[update] Readme, WIP note
2 years ago
.github/ISSUE_TEMPLATE [merge] Merge rust-rewrite branch to main 2 years ago
assets [update] Readme. 2 years ago
src [refactor] Remove preceeding "Note:" from root warning. 2 years ago
.gitignore [update] gitignore bin/swhkd 3 years ago
.rustfmt.toml [Create] rustfmt.toml 2 years ago
Cargo.lock [refactor] Default to /etc/swhkd/swhkdrc instead of /home/USER/.config/swhkd/swhkdrc. 2 years ago
Cargo.toml [refactor] Replace glob with evdev::enumerate. 2 years ago
LICENSE move to permissive BSD 2-Clause "Simplified" License 3 years ago
Makefile [feature] Makefile, check for make dependencies. 2 years ago
README.md [update] Readme, WIP note 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

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: