summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorcoast <coasteen@proton.me>2025-12-21 10:21:49 +0330
committercoast <coasteen@proton.me>2025-12-21 10:21:49 +0330
commit75bf253a7896d3a686ae8dcf70a34133b168d303 (patch)
treeadde34fc6324e55f3d5e93e0635d7e0456a5896b /README.md
downloadchd-75bf253a7896d3a686ae8dcf70a34133b168d303.tar.gz
chd-75bf253a7896d3a686ae8dcf70a34133b168d303.tar.bz2
chd-75bf253a7896d3a686ae8dcf70a34133b168d303.tar.xz
chd-75bf253a7896d3a686ae8dcf70a34133b168d303.tar.zst
init
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..7dcd4de
--- /dev/null
+++ b/README.md
@@ -0,0 +1,18 @@
+Simple X hotkey daemon, with a `bind` argument
+
+
+The config file is a script that calls `piss bind` commands. Each bind consists of a key combination in quotes.
+
+Config example:
+```sh
+#!/usr/bin/env sh
+piss bind "Super + Return" "st"
+```
+Or alternatively, in Lua:
+```lua
+#!/usr/bin/env lua
+os.execute('piss bind "Super + Return" "st"')
+```
+
+The daemon automatically detects the shebang and executes your config!
+My config can be seen [here.](pissrc.example.lua)