diff options
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig index cbbdcea..b7be734 100644 --- a/src/config.zig +++ b/src/config.zig @@ -96,5 +96,9 @@ pub const Config = struct { // Mod+Shift+0 to tag focused view with all tags try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_0, .modifiers = mod | c.WLR_MODIFIER_SHIFT, .command = command.setFocusedViewTags, .arg = .{ .uint = 0xFFFFFFFF } }); + + // Mod+Period and Mod+Comma to focus the next/previous output + try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_period, .modifiers = mod, .command = command.focusNextOutput, .arg = .{ .none = {} } }); + try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_comma, .modifiers = mod, .command = command.focusPrevOutput, .arg = .{ .none = {} } }); } }; |
