On Wed, Apr 06, 2011 at 09:30:31AM +0200, Christoph Lohmann wrote:
> The given panel feature could be used by dmenu, to not overlap
> the window drawing area, when being run.
> I'm using it for having svkbd on a defined position on the screen,
> when rotating my Laptop into tablet mode. The needed patches for
> svkbd are sent to the maintainer.
Here's what I do (in config.h):
{ ShiftMask|ControlMask, XK_F31,
set_bar_height, {.i = -1}},
{ ShiftMask|ControlMask, XK_F32,
set_bar_height, {.i = 1}},
void
set_bar_height(const Arg *arg) {
if (arg->i > 0)
sh = sh + 300;
else
sh = sh - 300;
updategeom();
arrange(selmon);
}
Peter
--
sic dicit magister P
PhD Candidate
Collaborative Programme in Ancient and Medieval Philosophy
University of Toronto
http://individual.utoronto.ca/peterjh