Re: running shell commands when the mouse hits a corner
Mark Eichin <[email protected]>
| Newsgroups | gmane.comp.window-managers.ion.general |
|---|---|
| Message-ID | <[email protected]> |
> Also, the X and Y dimensions are set to 1920x1200 in the script, but can > be overridden with -x and -y respectively. I don't know how to grab > those automatically. If you're into running commands instead of doing Xlib from perl directly, just run "xwininfo -root" and parse out the Width: and Height: fields. (For multi-monitor setups, just run one on each screen, or maybe look at xdpyinfo and parse "screen #" and "dimensions:" instead.)