seeh Posted April 25, 2022 Report Share Posted April 25, 2022 (edited) this is maybe helpful for you (works for me). let me know if something wrong. for example the command for kill 0ad ( i dont know ) # for your linux konsole fish alias: ```sh alias 0adReStartMove="killall main; clear; 0ad >/dev/null 2>&1 & pwd; sleep 1; ~/scripts/moveWindow.sh " ``` ```sh #!/bin/sh # moveWindow.sh # 1920,1080 # https://stackoverflow.com/questions/29833717/how-can-i-move-application-windows-using-autokey WINDOW_ID=$(wmctrl -l | awk '/0 A.D./ {print $1}') wmctrl -i -r "$WINDOW_ID" -e 0,1908,-27,1922,1089; echo "gravity,X,Y,width,height" ``` Edited May 8, 2022 by seeh was not large enough Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.