sxhkdrc-mode 
- Description
- Major mode for sxhkdrc files (Simple X Hot Key Daemon)
- Latest
- sxhkdrc-mode-1.2.0.tar (.sig), 2025-Aug-14, 20.0 KiB
- Maintainer
- Protesilaos Stavrou <info@protesilaos.com>
- Website
- https://github.com/protesilaos/sxhkdrc-mode
- Browse ELPA's repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install
or list-packages
.
Full description
sxhkdrc-mode for GNU Emacs
This is a major mode for editing sxhkdrc
files. SXHKD is the Simple
X Hot Key Daemon which is commonly used in minimalist desktop sessions
on Xorg (I use it with bspwm, herbstluftwm, and i3wm). The sxhkdrc
file configures key chords, binding them to commands. For the
technicalities, read the manpage sxhkd(1)
.
- Package name (GNU ELPA):
sxhkdrc-mode
- Git repositories:
- Backronym: Such Xenotropic Hot Keys Demonstrate Robustness and Configurability ... mode.
Usage
Install the mode and use with any sxhkdrc
file:
(use-package sxhkdrc-mode
:ensure t
:mode "sxhkdrc.*")
Restart the sxhkd daemon on demand with the command
sxhkdrc-mode-restart
. Or make it happen automatically each time you
save a buffer that uses the sxhkdrc-mode
by setting up the
sxhkdrc-mode-auto-restart
like this:
;; automatically reload the daemon after saving the file
(add-hook 'sxhkdrc-mode-hook #'sxhkdrc-mode-auto-restart)
Putting it all together:
(use-package sxhkdrc-mode
:ensure t
:mode "sxhkdrc.*" ; if you want more than just "sxhkdrc"
:commands (sxhkdrc-mode-restart)
:hook (sxhkdrc-mode . sxhkdrc-mode-auto-restart))
Old versions
sxhkdrc-mode-1.1.0.tar.lz | 2024-Dec-24 | 4.67 KiB |
sxhkdrc-mode-1.0.0.tar.lz | 2024-Mar-31 | 3.72 KiB |
sxhkdrc-mode-0.1.5.tar.lz | 2023-Feb-06 | 2.85 KiB |
sxhkdrc-mode-0.1.4.tar.lz | 2022-Dec-14 | 2.50 KiB |
sxhkdrc-mode-0.1.1.tar.lz | 2022-Dec-14 | 2.46 KiB |