blob: 0362a9d6ecfbf887c1fc4bd25aafd2268a8a2d0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
a simple X hotkey daemon
The config file is a script that calls `chd bind` commands. Each bind consists of a key combination in quotes.
Config example:
```sh
#!/usr/bin/env sh
chd bind "Super + Return" "st"
```
Or alternatively, in Lua:
```lua
#!/usr/bin/env lua
os.execute('chd bind "Super + Return" "st"')
```
The daemon automatically detects the shebang and executes your config!
My config can be seen [here.](chdrc.example.lua)
|