ipc: change default socket path to ~/.i3/ipc.sock, enable in default config
Having the IPC socket is handy, so enable it by default. Also, if you have > 1 user running i3 on the same machine, the old path of /tmp/i3-ipc.sock is not so useful. On the other hand, we needed quite a bit of changes to make tilde expansion and creation of directories (mkdir -p) work…
This commit is contained in:
@ -116,6 +116,10 @@ bind Mod1+Shift+26 exit
|
||||
# Mod1+Shift+r restarts i3 inplace
|
||||
bind Mod1+Shift+27 restart
|
||||
|
||||
# The IPC interface allows programs like an external workspace bar
|
||||
# (i3-wsbar) or i3-msg (can be used to "remote-control" i3) to work.
|
||||
ipc-socket ~/.i3/ipc.sock
|
||||
|
||||
#############################################################
|
||||
# DELETE THE FOLLOWING LINES TO DISABLE THE WELCOME MESSAGE #
|
||||
#############################################################
|
||||
|
Reference in New Issue
Block a user