diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-08 17:43:00 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-08 17:43:00 +0200 |
| commit | b2fbdf2d87e21c724d82eb59ef7f5dae26b39c7e (patch) | |
| tree | 7e443d4538337bce3425d6afb458c4fb33e569b2 /src/config.zig | |
| parent | dd480ca567b68ac59d9b37f0fae0e0ec8d2b1001 (diff) | |
| download | river-b2fbdf2d87e21c724d82eb59ef7f5dae26b39c7e.tar.gz river-b2fbdf2d87e21c724d82eb59ef7f5dae26b39c7e.tar.xz | |
Add keybind to close views
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig index 7e70778..1434f07 100644 --- a/src/config.zig +++ b/src/config.zig @@ -75,5 +75,7 @@ pub const Config = struct { try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_0, .modifiers = mod, .command = command.focusTags, .arg = .{ .uint = 0xFFFFFFFF } }); try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_0, .modifiers = mod | c.WLR_MODIFIER_SHIFT, .command = command.setFocusedViewTags, .arg = .{ .uint = 0xFFFFFFFF } }); + + try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_q, .modifiers = mod, .command = command.close, .arg = .{ .none = {} } }); } }; |
