aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-08 12:52:36 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-08 12:52:36 +0200
commitdd480ca567b68ac59d9b37f0fae0e0ec8d2b1001 (patch)
tree0fec32f3e504094839d8cc30ec8cc29d40a72293
parent57b371d567d2d4f4f81ad6f3a242f231ecad91e6 (diff)
downloadriver-dd480ca567b68ac59d9b37f0fae0e0ec8d2b1001.tar.gz
river-dd480ca567b68ac59d9b37f0fae0e0ec8d2b1001.tar.xz
Add view all tags and tag with all tags keybinds
-rw-r--r--src/config.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig
index 50ee7eb..7e70778 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -72,5 +72,8 @@ pub const Config = struct {
try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_4, .modifiers = mod | c.WLR_MODIFIER_CTRL | c.WLR_MODIFIER_SHIFT, .command = command.toggleFocusedViewTags, .arg = .{ .uint = 1 << 3 } });
try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_5, .modifiers = mod | c.WLR_MODIFIER_CTRL | c.WLR_MODIFIER_SHIFT, .command = command.toggleFocusedViewTags, .arg = .{ .uint = 1 << 4 } });
try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_6, .modifiers = mod | c.WLR_MODIFIER_CTRL | c.WLR_MODIFIER_SHIFT, .command = command.toggleFocusedViewTags, .arg = .{ .uint = 1 << 5 } });
+
+ 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 } });
}
};