Re: [dev] Fullscreen keyboard shortcut in dwm like in wmii

2010-07-22 Thread Stefan Mark
I use this function, it makes a client float and maximize. void togglemax(const Arg *arg) { Client *c; if(!(c = selmon->sel)) return; Monitor *m = c->mon; c->isfloating = !c->isfloating || c->isfixed; if(c->isfloating) resize

Re: [dev] Fullscreen keyboard shortcut in dwm like in wmii

2010-07-21 Thread stesen
I use this: { MODKEY, XK_f, togglebar, {0} }, not a "real" fullscreen mode On Wed, Jul 21, 2010 at 07:17:04PM -0500, Matthew Bauer wrote: > Is there an easy way to have a fullscreen keyboard shortcut in dwm like > there is in wmii? > > I was trying to achieve thi

Re: [dev] Fullscreen keyboard shortcut in dwm like in wmii

2010-07-21 Thread Kurt H Maier
What are you trying to do beyond turning the bar off and switching to monocle mode? -- # Kurt H Maier

[dev] Fullscreen keyboard shortcut in dwm like in wmii

2010-07-21 Thread Matthew Bauer
Is there an easy way to have a fullscreen keyboard shortcut in dwm like there is in wmii? I was trying to achieve this via xprop with something like this in the config.h: { MODKEY, XK_f, spawn, {.v = (char > *[]){"/bin/sh", "-c", "xprop -id $0 -f _NET_WM_STATE