altdesktop / i3ipc-python

🐍 An improved Python library to control i3wm and sway.
http://i3ipc-python.readthedocs.io
BSD 3-Clause "New" or "Revised" License
851 stars 109 forks source link

Use more direct methods of getting the socket path #116

Closed jcjordyn130 closed 5 years ago

jcjordyn130 commented 5 years ago

This is the exact same thing that i3 --get-socketpath does, it's just this doesn't require a subprocess call. I also removed the sway subprocess call as we already do what sway --get-socketpath does above by getting $SWAYSOCK.

acrisci commented 5 years ago

:+1: