termux-packages/x11-packages/i3/i3-4.15_i3bar_src_main.c.patch
2022-04-18 14:41:35 +05:30

13 lines
533 B
Diff

diff -uNr i3-4.18/i3bar/src/main.c i3-4.18.mod/i3bar/src/main.c
--- i3-4.18/i3bar/src/main.c 2020-02-17 19:27:38.000000000 +0200
+++ i3-4.18.mod/i3bar/src/main.c 2020-03-08 20:28:48.821977158 +0200
@@ -160,7 +160,7 @@
}
if (socket_path == NULL) {
- char *i3_default_sock_path = "/tmp/i3-ipc.sock";
+ char *i3_default_sock_path = "@TERMUX_PREFIX@/tmp/i3-ipc.sock";
ELOG("No socket path specified, default to %s\n", i3_default_sock_path);
socket_path = sstrdup(i3_default_sock_path);
}