aboutsummaryrefslogtreecommitdiff
path: root/src/command.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-06-01 14:41:44 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-06-01 14:41:44 +0200
commit70cc3185181109a43871b65771891ce3d733b0fe (patch)
tree033a3330d052ac9a877a19eae243b2e8bf40eb83 /src/command.zig
parentd59b0791a9722f4b74fafea635daff7b4b5cb162 (diff)
downloadriver-70cc3185181109a43871b65771891ce3d733b0fe.tar.gz
river-70cc3185181109a43871b65771891ce3d733b0fe.tar.xz
Implement bind command
This command allows binding compsitor commands to keys
Diffstat (limited to 'src/command.zig')
-rw-r--r--src/command.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.zig b/src/command.zig
index bec1b8f..2bd53ba 100644
--- a/src/command.zig
+++ b/src/command.zig
@@ -27,6 +27,7 @@ const impl = struct {
const focus = @import("command/focus.zig").focus;
const focusAllTags = @import("command/focus_all_tags.zig").focusAllTags;
const focusOutput = @import("command/focus_output.zig").focusOutput;
+ const bind = @import("command/bind.zig").bind;
const focusTag = @import("command/focus_tag.zig").focusTag;
const layout = @import("command/layout.zig").layout;
const modMasterCount = @import("command/mod_master_count.zig").modMasterCount;
@@ -76,6 +77,7 @@ const str_to_impl_fn = [_]Definition{
.{ .name = "mod_master_factor", .impl = impl.modMasterFactor },
.{ .name = "send_to_output", .impl = impl.sendToOutput },
.{ .name = "spawn", .impl = impl.spawn },
+ .{ .name = "bind", .impl = impl.bind },
.{ .name = "tag_view", .impl = impl.tagView },
.{ .name = "tag_view_all_tags", .impl = impl.tagViewAllTags },
.{ .name = "toggle_float", .impl = impl.toggleFloat },