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 7b6780e3b8
[update] Contributing.md
2 years ago
.github [Update] fix ISSUE_TEMPLATE 2 years ago
contrib [Bug fix] rules file needs to have permission 644. 2 years ago
docs [update] Build instructions. 2 years ago
src style: fix formatting w/ rustfmt 2 years ago
.gitignore [update] add server binary to gitignore 2 years ago
.rustfmt.toml [Create] rustfmt.toml 2 years ago
CONTRIBUTING.md [update] Contributing.md 2 years ago
Cargo.lock [rel] Version bump. 2 years ago
Cargo.toml [rel] Version bump. First official point release. 2 years ago
LICENSE move to permissive BSD 2-Clause "Simplified" License 2 years ago
Makefile [update] switch prefix dir to comply with AUR. 2 years ago
README.md [update]Minor readme changes 2 years ago
release.sh [add] Automatic build script for github releases. 2 years ago
swhkd.rules [update] switch prefix dir to comply with AUR. 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 also attempts to be 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 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 swhkd.

Running:

swhks &
pkexec swhkd

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

#!/bin/sh
sudo killall swhkd
pkexec swhkd

Mark it as executeable 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.

Support server:

https://discord.gg/KKZRDYrRYW

Contributors: