You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to move a window via python subprocess. To do this, I'm running i3-msg '[title="xyz"] move right'. If I run this command on the terminal it works as expected. Instead, if I run this in python interpreter it still works. However, if I run this as a python script from a terminal, both the terminal and the target window move.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to move a window via python subprocess. To do this, I'm running
i3-msg '[title="xyz"] move right'
. If I run this command on the terminal it works as expected. Instead, if I run this in python interpreter it still works. However, if I run this as a python script from a terminal, both the terminal and the target window move.works:
i3-msg '[title="xyz"] move right'
also works:
moves both the window and the terminal that invoked it:
python windows.py a49c21fe move up
Another thing I noticed is that if I run
python windows.py a49c21fe move position up &
, everything works as intended. Anyone knows what's going on?Beta Was this translation helpful? Give feedback.
All reactions