Skip to content

higherkinded/shkd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

================================================================================

                                 _/       _/            _/
                                _/       _/            _/
                      _/_/_/_/ _/_/_/   _/  _/    _/_/_/
                       _/     _/    _/ _/_/    _/    _/
                        _/   _/    _/ _/  _/  _/    _/
                   _/_/_/_/ _/    _/ _/    _/  _/_/_/

================================================================================

shkd - Static HotKey Daemon. Like sxhkd but even smaller.

--------------------------------------------------------------------------------

0. DEPENDENCIES

You gotta have `xlib` and its headers ready.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1. BUILDING

Just run `make`. That cuts it. It creates an installation image in `build/img`
directory and you can either go with the default `make install` recipe or do the
installation your own way.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2. CONFIGURATION

Consult `config/keys.def` for examples. If you want to configure modifiers, do
so in `config/preventkeys`.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3. SIZE

Current size on x86_64, glibc and libstdc++ without any configuration is ~28K
bytes. Maybe less on 32-bit systems. Every line of configuration you insert adds
to this, though not too much. Any attemtps at golfing it even further down are
much appreciated. Not sure why I do it but it's fun.

If you want to check your size optimization, you may use `make size` to get the
byte count.

================================================================================