On Fri, Oct 7, 2011 at 02:34, informationen <informationen@gmx.de> wrote:
On Thu, Oct 6, 2011 at 16:36, informationen <informationen@gmx.de> wrote:
  i am using scratchpad as drop-down terminal together with
  screen. The scratchpad window is configured to take 35% of the
  window height. How can i increase and decrease the scratchpad
  height without using the mouse?

XMonad.Actions.FloatKeys might be of interest. 

This works for most applications, but does not work for most
terminals. The only terminal type i can use it with is
gnome-terminal. But when i use gnome-terminal as a
scratchpad-terminal, it won't work anymore. I can descrease the
window height, but not increase it.

Is this a know bug? Does anyone have any ideas how to fix this?

This is how i use floatkeys with namedscratchads in my config:

scratchpads = [
    NS "screen" "gnome-terminal --title=screen" (title =? "screen")             (customFloating $ W.RationalRect 0 0 1 0.57),
           ]
, ("M-i", namedScratchpadAction scratchpads "screen")
, ("M-o", withFocused (keysResizeWindow (0,20) (0,0))) --expand float at top
, ("M-p", withFocused (keysResizeWindow (0,-20) (0,0))) --shrink float at top

Chris

You should probably send this back to the list.  (I've copied it there.)

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms