Re: [wmii] [ANN] wmii 3.6 released

From: Sander van Dijk <a.h.vandijk_AT_gmail.com>
Date: Thu, 29 Nov 2007 15:09:15 +0100

On Nov 29, 2007 1:59 PM, <erthad_AT_gmail.com> wrote:
> Sander van Dijk (Thu, 29 Nov 2007 11:51:14 +0100):
>
> > > Ted Zlatanov (Wed, 28 Nov 2007 08:48:44 -0600):
> > > > I don't know if this belongs in wmii or in an external utility,
> > > > but haven't found anything that does it. I think it's very
> > > > useful.
> > > You can create small bar in the side of dmenu and tune clicking on
> > > it to lock the computer.
> > Uh no, you can't. dmenu is completely keyboard driven, you can't make
> > it do anything with the mouse (without hacking dmenu.c, that is).
>
> May be it changed with the new version but in 3.5 mouse events for work
> fine for me:
>
> ==========================
> Event RightBarClick
> button=$1; bar=$2
> if [ "X$bar" = "Xmpdstatus" ]; then
> case "$button" in
> 1) mpc toggle ;;
> 2) mpc prev ;;
> 3) mpc next ;;
> 4) volume "+" & ;;
> 5) volume "-" & ;;
> esac
> fi
> ==========================
>
> Some time ago I used to make a small area specially for locking the
> screen with the script like this.

Ah, you mean the bar, not dmenu. In that case you're right of course
(the bar is part of wmii, while dmenu is a separate program. You can
use the mouse on the bar, but not on dmenu).

Gr. Sander.
Received on Thu Nov 29 2007 - 15:09:19 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:31:50 UTC