summaryrefslogtreecommitdiff
path: root/src/usercfg.h
diff options
context:
space:
mode:
authoruint23 <[email protected]>2025-04-15 11:29:44 +0100
committeruint23 <[email protected]>2025-04-15 11:29:44 +0100
commitea8c0e5bdce00cc27d22c6c128d6e9a306ef2175 (patch)
tree3bfaa0f994cdd04cdadabc8da1f1eeb9de5a0843 /src/usercfg.h
parent2341851145d9701e4b349a4ee80899d9e875b2bf (diff)
can quit
Diffstat (limited to 'src/usercfg.h')
-rw-r--r--src/usercfg.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/usercfg.h b/src/usercfg.h
new file mode 100644
index 0000000..111ae03
--- /dev/null
+++ b/src/usercfg.h
@@ -0,0 +1,16 @@
+#ifndef USER_CONFIG
+#define USER_CONFIG
+
+#include <X11/keysym.h>
+#include "defs.h"
+
+#define MOD ALT
+
+static const char *termcmd[] = {"st", NULL};
+
+static const Binding binds[] = {
+ BIND(MOD, Return, termcmd),
+ CALL(MOD|SHIFT, q, quit),
+};
+
+#endif