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.

1.9 KiB

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 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.

Support server:

https://discord.gg/KKZRDYrRYW

Contributors: