[xmonad] xmonad user survey!

David Roundy daveroundy at gmail.com
Thu Dec 27 07:52:00 EST 2007


On Dec 26, 2007 7:31 AM, Andrea Rossato <mailing_list at istitutocolli.org> wrote:
> On Mon, Dec 24, 2007 at 08:28:18AM -0500, David Roundy wrote:
> > On Sun, Dec 23, 2007 at 02:26:08PM -0800, David Benbennick wrote:
> > > In XMonad, I often get lost, and don't know what workspace I'm in
> > > (since I use Ctrl+Alt+Left/Right to switch more than Alt-1/2/3).  I'd
> > > love to have XMonad briefly flash the workspace name when switching
> > > workspaces.
> >
> > This would make a nice little contrib extension, and should actually be
> > relatively easy as a layout modifier, except that it'd necessarily involve
> > creating a little window (which is always tedious).
>
>
> I was playing with this idea, but it doesn't seem so easy to me
> actually... doLayout is called not just when you move to a new
> workspace, but every time XMonad.Operations.windows is called... which
> probably makes this approach quite troublesome and probably
> impossible...

I think that should be pretty easy to handle.  You just need a Bool
data member in your layout modifier.  You only print the message if
the Bool is True, and when you print the message you set the Bool to
False.  Then you reset it to true when you get a Hide message.

David (who doesn't have time to play with your code)


More information about the xmonad mailing list