aboutsummaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig8
1 files changed, 8 insertions, 0 deletions
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 = {} },
+ });
}
};