From 70cc3185181109a43871b65771891ce3d733b0fe Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 1 Jun 2020 14:41:44 +0200 Subject: Implement bind command This command allows binding compsitor commands to keys --- src/command.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/command.zig') 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 }, -- cgit v1.2.3