From 1362061c4cefc558470c188d894f75faaa4e9cb2 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Wed, 22 Apr 2020 22:50:03 +0200 Subject: Implement floating views --- src/config.zig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/config.zig') diff --git a/src/config.zig b/src/config.zig index f09dc1a..caa6cd6 100644 --- a/src/config.zig +++ b/src/config.zig @@ -189,5 +189,13 @@ pub const Config = struct { .command = command.sendToOutput, .arg = .{ .direction = .Prev }, }); + + // Mod+Space to toggle float + try self.keybinds.append(Keybind{ + .keysym = c.XKB_KEY_space, + .modifiers = mod, + .command = command.toggleFloat, + .arg = .{ .none = {} }, + }); } }; -- cgit v1.2.3