summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorcoast <coasteen@proton.me>2026-05-18 15:37:44 +0330
committercoast <coasteen@proton.me>2026-05-18 15:37:44 +0330
commit8cf7e774dc3e1c00fa5283b619ba9dc502e63336 (patch)
treefda226a4e36bf1de0715d8720d46fb07eb7a7de8 /README.md
parent59167a7529e37a82ad7f1d541e9b91745608f8aa (diff)
downloadchd-8cf7e774dc3e1c00fa5283b619ba9dc502e63336.tar.gz
chd-8cf7e774dc3e1c00fa5283b619ba9dc502e63336.tar.bz2
chd-8cf7e774dc3e1c00fa5283b619ba9dc502e63336.tar.xz
chd-8cf7e774dc3e1c00fa5283b619ba9dc502e63336.tar.zst
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 5 insertions, 6 deletions
diff --git a/README.md b/README.md
index 7dcd4de..0362a9d 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,17 @@
-Simple X hotkey daemon, with a `bind` argument
+a simple X hotkey daemon
-
-The config file is a script that calls `piss bind` commands. Each bind consists of a key combination in quotes.
+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
-piss bind "Super + Return" "st"
+chd bind "Super + Return" "st"
```
Or alternatively, in Lua:
```lua
#!/usr/bin/env lua
-os.execute('piss bind "Super + Return" "st"')
+os.execute('chd bind "Super + Return" "st"')
```
The daemon automatically detects the shebang and executes your config!
-My config can be seen [here.](pissrc.example.lua)
+My config can be seen [here.](chdrc.example.lua)