Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. * precise window dimensions
  2. * precise available screen space (excluding panels like gnome-panel)
  3. * the ability to set a window to be a certain size, including decorations
  4.  
  5. windows="$(wmiface findNormalWindows "KWrite" "" "" "" "" "")"
  6. for window in $(echo $windows); do
  7. {
  8. echo $window
  9. wmiface framePosition $window
  10. wmiface frameSize $window
  11. wmiface windowPosition $window
  12. wmiface windowSize $window
  13. echo
  14. } done
  15.  
  16. xrandr
  17.  
  18. xrandr | head -n1 | cut -d, -f2 | cut -d" " -f3-5
  19.  
  20. 4400 x 2560
  21.  
  22. wmiface setFrameGeometry $window $x $y $width $height
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement