Change default socketpath to /tmp/i3-ipc.sock
This commit is contained in:
parent
1369e36d7c
commit
c9ee3eb21e
|
@ -14,7 +14,7 @@ i3bar - xcb-based status- and ws-bar
|
||||||
== OPTIONS
|
== OPTIONS
|
||||||
|
|
||||||
*-s, --socket* 'sock_path'::
|
*-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'::
|
*-c, --command* 'command'::
|
||||||
Execute '<command>' 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*
|
Execute '<command>' 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*
|
||||||
|
|
|
@ -116,7 +116,7 @@ int main(int argc, char **argv) {
|
||||||
char *socket_path = getenv("I3SOCK");
|
char *socket_path = getenv("I3SOCK");
|
||||||
char *command = NULL;
|
char *command = NULL;
|
||||||
char *fontname = 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, };
|
struct xcb_color_strings_t colors = { NULL, };
|
||||||
|
|
||||||
/* Definition of the standard-config */
|
/* Definition of the standard-config */
|
||||||
|
|
Loading…
Reference in New Issue