summaryrefslogtreecommitdiff
path: root/README.ans
diff options
context:
space:
mode:
authorpapush!2025-06-28 18:11:22 +0200
committerpapush!2025-06-28 18:30:43 +0200
commitff5e9f826d6e89f5ab1adb09e959afd5d1e17a5f (patch)
tree4ce18b7b3457f5daf72acd5a3cb87e40472f0a8d /README.ans
initial commit
Diffstat (limited to 'README.ans')
-rw-r--r--README.ans67
1 files changed, 67 insertions, 0 deletions
diff --git a/README.ans b/README.ans
new file mode 100644
index 0000000..932f2f4
--- /dev/null
+++ b/README.ans
@@ -0,0 +1,67 @@
+
+ ..
+ .$$S. .,.
+ .S$$$$; .,,,,,,,.
+ ;$$$$. .,,;;,,,,.
+ ;S;,;;,,.
+ .;;,;,
+ ,s, s$;
+ .,.;$$S
+ .s$$$,
+ .;S$$$;.
+ s$s;. ,;.
+ .;S$$S .,;,.
+ .s$S;. .,;;.
+.;sS$S;. ,$$s. .;;. .,S$;.
+.;sS$$$$$$$s,. ,$$S. .;;. .;S$SSS$$;.
+ .;S$$$$$$$$$Ss;. ,$$$. .;, s$$$$$$$Ss;,.
+ ,sS$$$$$$$$$Ss;,.,s;. ,, ,$$$$$$$$$$S;.
+ .,;S$$$$$$$$$$$S, .sSSSsS$$$$$$$;
+ .,;s$$$$$$$, .S$$$SS$$,
+ .;;,sS, .,ss,.,,,.
+ .,,,,s$$s. ..,;..,,;;,,,,,.
+ .,,,,,,,,,;;,,,;$$$, .,;;. .,,,,,;;,,,,,.
+ .,,,,,,,;;,,,,,,,,,. .s$$. .,;;. .,,,,,;;,,,,.
+ .,;;,,,,,,,. .$$$s .;;,. .,,,,,.
+ .,,. ,$$$$. .;;.
+ .$$$$s .;;.
+ S$$$. .;;.
+ ;$S,,,,,.
+ .;;;,
+ .,;;.S$s
+ .;;,. $$$
+ .;, .s$$;
+ ..,$$$;
+ ,s$$$;.
+ ,S$$$S.,;.
+ .S$$S,. .;;.
+ .;;,. .,.
+
+
+shibari is a program that reads inputs from various devices and
+executes user-specified bindings.
+
+It uses the evdev interface exposed by the Linux kernel, which means
+it can handle keyboards as well as mouse and gamepad buttons and that
+it can function indiferrently of being run in X11, Wayland or in a
+headless setup.
+
+shibari requires read access to files in /dev/input and
+/sys/class/input.
+
+Bindings are specified in a bindings file searched for at, in order of
+preference:
+ - the path given as argument to the "-c" option
+ - $XDG_CONFIG_HOME/shibari/bindings.conf
+ - $HOME/.config/shibari/bindings.conf
+
+The bindings file expects one binding per line of the form:
+
+"<code> <press|release> <cmd>"
+
+where <code> is the key code which can be seen by running shibari with
+the "-t" option, <press|release> specifies wether the binding should
+be run when the key is pressed or released and <cmd> is a command
+string that will be run by /bin/sh when the binding is activated.
+
+Empty lines and anything after a "#" is ignored.