aboutsummaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-09 12:54:38 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-09 12:54:38 +0200
commitbf17b5404846d54d70fe63eb013cf20bf0a4b448 (patch)
tree180b3dc34c05e4eeebb29e124f870e33778580b7 /src/config.zig
parent6c23f3eefd84c2748f5e83f8a84f0996c6a10578 (diff)
downloadriver-bf17b5404846d54d70fe63eb013cf20bf0a4b448.tar.gz
river-bf17b5404846d54d70fe63eb013cf20bf0a4b448.tar.xz
Go back to using std.ChildProcess
The bug with this was fixed by https://github.com/ziglang/zig/pull/4970.
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.zig b/src/config.zig
index c4e7f23..99de35b 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -54,7 +54,7 @@ pub const Config = struct {
try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_h, .modifiers = mod | c.WLR_MODIFIER_SHIFT, .command = command.modifyMasterCount, .arg = .{ .int = 1 } });
try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_l, .modifiers = mod | c.WLR_MODIFIER_SHIFT, .command = command.modifyMasterCount, .arg = .{ .int = -1 } });
- try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_Return, .modifiers = mod | c.WLR_MODIFIER_SHIFT, .command = command.spawn, .arg = .{ .cstr = "alacritty" } });
+ try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_Return, .modifiers = mod | c.WLR_MODIFIER_SHIFT, .command = command.spawn, .arg = .{ .str = "alacritty" } });
try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_1, .modifiers = mod | c.WLR_MODIFIER_SHIFT, .command = command.setFocusedViewTags, .arg = .{ .uint = 1 << 0 } });
try self.keybinds.append(Keybind{ .keysym = c.XKB_KEY_2, .modifiers = mod | c.WLR_MODIFIER_SHIFT, .command = command.setFocusedViewTags, .arg = .{ .uint = 1 << 1 } });