Guest User

Untitled

a guest
Sep 26th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. wmctrl -l
  2.  
  3. xdotool getwindowgeometry --shell window_id
  4.  
  5. WINDOW=69206033
  6. X=6
  7. Y=89
  8. WIDTH=1360
  9. HEIGHT=800
  10. SCREEN=0
  11.  
  12. xdotool windowsize window_id WIDTH HEIGHT
  13.  
  14. xdotool windowsize 0x04200221 1000 600
  15.  
  16. #! /bin/sh
  17. fw=`xdotool getwindowfocus`
  18. for nw in `xdotool search --classname Navigator`; do
  19. test "$fw" = "$nw" && xdotool windowsize "$fw" 800 600
  20. done
  21.  
  22. nw=`xdotool search --classname Navigator | tail -1`
  23. test "$nw" && xdotool windowsize "$nw" 800 600
Add Comment
Please, Sign In to add comment