summaryrefslogtreecommitdiff
path: root/patches/rivertile.patch
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-12-20 22:18:01 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-12-20 22:18:01 -0500
commitda1fa0ef9b4c32625b1d958275bc9c1f19cc1121 (patch)
tree942e4d658d01ac13e61d75756db9da5e4fe3aa30 /patches/rivertile.patch
parentfa7c8c14fe1d3f72b60773efd6ab50c438e105d7 (diff)
Patch rivertile bar
Diffstat (limited to 'patches/rivertile.patch')
-rw-r--r--patches/rivertile.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/rivertile.patch b/patches/rivertile.patch
new file mode 100644
index 0000000..f6a0f87
--- /dev/null
+++ b/patches/rivertile.patch
@@ -0,0 +1,19 @@
+diff --git a/rivertile/main.zig b/rivertile/main.zig
+index 2590e7e..91f2c25 100644
+--- a/rivertile/main.zig
++++ b/rivertile/main.zig
+@@ -291,10 +291,10 @@ const Output = struct {
+ }
+
+ switch (output.main_location) {
+- .left => layout.commit("rivertile - left", ev.serial),
+- .right => layout.commit("rivertile - right", ev.serial),
+- .top => layout.commit("rivertile - top", ev.serial),
+- .bottom => layout.commit("rivertile - bottom", ev.serial),
++ .left => layout.commit("[]=", ev.serial),
++ .right => layout.commit("=[]", ev.serial),
++ .top => layout.commit("[]^", ev.serial),
++ .bottom => layout.commit("[]v", ev.serial),
+ }
+ },
+ .user_command_tags => {},