[prev in list] [next in list] [prev in thread] [next in thread]
List: openbox
Subject: [openbox] Using screen size in key bindings
From: folderol () ukfsn ! org (Folderol)
Date: 2009-03-12 20:28:19
Message-ID: 20090312202819.15856125 () debian
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic