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

From: stesen <stesenchina_AT_gmail.com>
Date: Thu, 22 Jul 2010 09:34:59 +0800

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 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 32a -set _NET_WM_STATE
> > _NET_WM_STATE_FULLSCREEN", wininfo, NULL } },
>
>
> But while trying to running that command on its own nothing happened.
>
> xprop -f _NET_WM_STATE 32a -set _NET_WM_STATE _NET_WM_STATE_FULLSCREEN
>
>
> It doesn't seem to work in other window managers either (the preferred way
> seems to be "wmctrl -r $0 -b add,fullscreen" but that doesn't work in dwm).
>
> What other ways are there besides adding another function to dwm?
Received on Thu Jul 22 2010 - 03:34:59 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 22 2010 - 03:36:02 CEST