[openbox] Using screen size in key bindings
Folderol
folderol at ukfsn.org
Thu Mar 12 16:28:19 EDT 2009
On Thu, 12 Mar 2009 16:04:15 -0400
John Eikenberry <jae at zhar.net> wrote:
> John wrote:
>
> > Mikael Magnusson wrote:
> >>>
> >>> I want the same thing, but some people cope by replacing openbox with a
> >>> script that first computes an rc.xml and then starts openbox.
> >>
> > Yes, I've read that and I think that I will do that. Do you know if
> > there is a better way of determining screen size than using a
> > combination of xwininfo, grep and awk ( as in xwininfo -root | grep
> > Height | awk '{print $2}' ) ?
>
> xrandr | awk '/\*/ {print $1}'| IFS=x read width height
>
Wow! that's really useful. It never occured to my you could simply use
xrandr like that
... Duh!
--
Will J Godfrey
http://www.musically.me.uk
More information about the openbox
mailing list