From dd480ca567b68ac59d9b37f0fae0e0ec8d2b1001 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Wed, 8 Apr 2020 12:52:36 +0200 Subject: [PATCH] Add view all tags and tag with all tags keybinds --- src/config.zig | 3 +++ 1 file changed, 3 insertions(+) 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 } }); } };