aboutsummaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-22 22:50:03 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-22 22:51:18 +0200
commit1362061c4cefc558470c188d894f75faaa4e9cb2 (patch)
tree3e7228007807e02e7f6d372a96ff247800a91a5d /src/config.zig
parent94760394b4b57fec09f4fed214dd2bf70993c857 (diff)
downloadriver-1362061c4cefc558470c188d894f75faaa4e9cb2.tar.gz
river-1362061c4cefc558470c188d894f75faaa4e9cb2.tar.xz
Implement floating views
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 = {} },
+ });
}
};