From c9ee3eb21ee6364a5f8bf09ee7c02007ae813e4c Mon Sep 17 00:00:00 2001 From: Axel Wagner Date: Sat, 22 Jan 2011 17:41:24 +0100 Subject: [PATCH] Change default socketpath to /tmp/i3-ipc.sock --- i3bar/doc/i3bar.man | 2 +- i3bar/src/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/i3bar/doc/i3bar.man b/i3bar/doc/i3bar.man index d446143c..f47108dd 100644 --- a/i3bar/doc/i3bar.man +++ b/i3bar/doc/i3bar.man @@ -14,7 +14,7 @@ i3bar - xcb-based status- and ws-bar == OPTIONS *-s, --socket* 'sock_path':: -Specifies the 'socketpath', via which *i3bar* connects to *i3*(1). If *i3bar* can not connect to *i3*, it will exit. Defaults to '~/.i3/ipc.sock' +Specifies the 'socketpath', via which *i3bar* connects to *i3*(1). If *i3bar* can not connect to *i3*, it will exit. Defaults to '/tmp/i3-ipc.sock' *-c, --command* 'command':: Execute '' to get 'stdin'. You can also simply pipe into 'stdin', but starting the coomand for itself, *i3bar* is able to send 'SIGCONT' and 'SIGSTOP', when combined with *-m* diff --git a/i3bar/src/main.c b/i3bar/src/main.c index c0e07a22..9c2a3181 100644 --- a/i3bar/src/main.c +++ b/i3bar/src/main.c @@ -116,7 +116,7 @@ int main(int argc, char **argv) { char *socket_path = getenv("I3SOCK"); char *command = NULL; char *fontname = NULL; - char *i3_default_sock_path = "~/.i3/ipc.sock"; + char *i3_default_sock_path = "/tmp/i3-ipc.sock"; struct xcb_color_strings_t colors = { NULL, }; /* Definition of the standard-config */ -- 2.39.5