From: Axel Wagner Date: Sat, 22 Jan 2011 16:41:24 +0000 (+0100) Subject: Change default socketpath to /tmp/i3-ipc.sock X-Git-Tag: 4.0.1~7^2~3^2~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c9ee3eb21ee6364a5f8bf09ee7c02007ae813e4c;p=i3%2Fi3 Change default socketpath to /tmp/i3-ipc.sock --- 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 */