diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-08 21:31:07 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-08 21:31:07 +0200 |
| commit | 3332e0ab2b39c24acf713d7a19af46addc165519 (patch) | |
| tree | da2e68e1a29da77f4d0fd0d29ea09b8dd14fe619 /src/config.zig | |
| parent | b2fbdf2d87e21c724d82eb59ef7f5dae26b39c7e (diff) | |
| download | river-3332e0ab2b39c24acf713d7a19af46addc165519.tar.gz river-3332e0ab2b39c24acf713d7a19af46addc165519.tar.xz | |
Fix environment of spawned processes
std.ChildProcess isn't handling environment variables set at runtime properly,
so just use libc directly.
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.zig b/src/config.zig index 1434f07..4159203 100644 --- a/src/config.zig +++ b/src/config.zig @@ -50,7 +50,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 = .{ .none = {} } }); + 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_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 } }); |
