#!/bin/bash # 2thunar, open 2 thunar windows side by side # Numbers are hardcoded, assumes screen width 1920 and top panel height 46. set -x # 2nd one thunar ~/Downloads & twopid="$!" xdotool search --sync --onlyvisible --pid $twopid windowactivate windowsize 740 740 windowmove 960 46 # 1st one thunar ~ & onepid="$!" xdotool search --sync --onlyvisible --pid $onepid windowactivate windowsize 740 740 windowmove 220 46