jbuchermn / newm

Wayland compositor
MIT License
959 stars 30 forks source link

IPC socket? #97

Closed fedoranvar closed 2 years ago

fedoranvar commented 2 years ago

Good day to you!

Is there any possibility for IPC socket system, similar to swaymsg or tmux, for controlling WM via shell-commands?

Thank you!

CRAG666 commented 2 years ago

I think it is not necessary since you can communicate through python. If you want to control newm create a python script where you import layout if you want to execute some actions.

fedoranvar commented 2 years ago

Got it. Thank you!

jbuchermn commented 2 years ago

Just as an additional remark.. something like this does exist, although the functionality is very limited at the moment - newm-cmd. It works via dbus.

@CRAG666 spent some time recently on improving its usage, which could be the basis to add more commands