termux-packages/x11-packages/i3/i3-4.15_i3bar_src_main.c.patch

13 lines
533 B
Diff

diff -uNr i3-4.15/i3bar/src/main.c i3-4.15.mod/i3bar/src/main.c
--- i3-4.15/i3bar/src/main.c 2018-03-10 19:29:14.000000000 +0200
+++ i3-4.15.mod/i3bar/src/main.c 2018-06-21 19:48:29.546920631 +0300
@@ -96,7 +96,7 @@
if (socket_path != NULL) {
socket_path = sstrdup(socket_path);
}
- char *i3_default_sock_path = "/tmp/i3-ipc.sock";
+ char *i3_default_sock_path = "@TERMUX_PREFIX@/tmp/i3-ipc.sock";
/* Initialize the standard config to use 0 as default */
memset(&config, '\0', sizeof(config_t));