summaryrefslogtreecommitdiffstats
path: root/swaybg
diff options
context:
space:
mode:
authorLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-11-13 17:53:46 +0100
committerLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-11-13 18:18:52 +0100
commitf64b7e71d4ad23c6aca2038cacd196ce94493748 (patch)
tree9fafb4aeeac5b792372a4b964c5bdac8de561f6a /swaybg
parentNew screenshot for README (diff)
downloadsway-f64b7e71d4ad23c6aca2038cacd196ce94493748.tar.gz
sway-f64b7e71d4ad23c6aca2038cacd196ce94493748.tar.zst
sway-f64b7e71d4ad23c6aca2038cacd196ce94493748.zip
ipc: Store socketname in SWAYSOCK. Fixes `--get-socketpath`.
After adding pid to the socket path the `--get-socketpath` command broke because it doesn't know the pid of the running instance. Fix this by setting and querying `SWAYSOCK`. Also ignore `SWAYSOCK` upon normal startup if a socket exists at that location (ie. from another sway instance), and don't overwrite `I3SOCK` if it exists either.
Diffstat (limited to 'swaybg')
0 files changed, 0 insertions, 0 deletions