diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-06-01 14:41:44 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-06-01 14:41:44 +0200 |
| commit | 70cc3185181109a43871b65771891ce3d733b0fe (patch) | |
| tree | 033a3330d052ac9a877a19eae243b2e8bf40eb83 /src/command.zig | |
| parent | d59b0791a9722f4b74fafea635daff7b4b5cb162 (diff) | |
| download | river-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.zig | 2 |
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 }, |
