git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commitb8521b79a5a5d27f9d261d175a72c499d99ee657
parentb0800e0aa0
authorIsaac Freund <[email protected]>
date2020-06-01 20:50
Use + instead of | to separate modifiers

Although | makes more logical sense, it has another meaning in most
shells.

 river/command/map.zig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/river/command/map.zig b/river/command/map.zig
index 90c0b33..3837a6f 100644
--- a/river/command/map.zig
+++ b/river/command/map.zig
@@ -62,7 +62,7 @@ pub fn map(
     };
 
     // Parse the modifiers
-    var it = std.mem.split(args[2], "|");
+    var it = std.mem.split(args[2], "+");
     var modifiers: u32 = 0;
     while (it.next()) |mod_name| {
         for (modifier_names) |def| {