Re: [dwm] dmenu with mouse support?

From: pancake <pancake_AT_youterm.com>
Date: Sun, 17 Jun 2007 00:10:23 +0200

can you send me this patch? would be nice to test it.

Looks interesting.

On Tue, 5 Jun 2007 10:39:34 +0200
"y i y u s " <yiyu.jgl_AT_gmail.com> wrote:

> I was maintaining a patch with this functionality for personal use. I
> defined a new variable, mousemode, which was activated with a middle
> mouse click in the bar and showed with an square in the layout
> indicator. Then you could move windows with left button, resize with
> the right one, change float state with the wheel and zoom with the
> middle button. i also implemented some actions with clicks on the bar
> to close windows, etc. and even you could assign tags to applications
> with the mouse.
> For the dmenu thing I was using fmenu, a replacement which could also
> be used with the mouse (though it was intended to work with a small
> set of commands, not all your path).
> After some months of a quasi-exclusive use of acme for my work, I
> don't maintain this patch or fmenu anymore (it is difficult to follow
> dwm development). Anyway if you want I can send you the last version
> (I think it was for 3.0 or 3.1), just let me know as I would have to
> search in my backups...
>
> see you,
>
> --
> :: yy ::
>
> 2007/6/1, pancake <pancake_AT_youterm.com>:
> > These days I'm thinking about the way to bring a mouse-only interaction with
> > dwm and related tools. Yes I know that is crappy, but something when i'm
> > smoking or working with more than one computer at the same time i like to
> > only get the mouse and not adapting my hands to different keyboards. These
> > changes can be also helpful for embedded devices with touchscreens and wheel
> > buttons.
> >
> > So I have different proposals to make dmenu and dwm more mouse friendly. Let
> > me know what do you think about this.
> >
> > dmenu:
> >
> > - up/down keys act as left/right keys
> > - mouse wheel act as left/right keys too
> > - mouse left click activates the selected word
> > - mouse right click closes dmenu (like <ESC>)
> >
> > dwm:
> >
> > - mouse wheel on tags allows to change between "desktops" (without having to click)
> > - left click on status bar (where the stdin is printed) executes a program.
> > - left click on title bar swaps current window between floating and tiled mode
> > - right click on title bar closes the window
> >
> > What i don't know how to do is how to emulate alt+click options (move and resize) or
> > how to zoom a window (alt+intro) without using the keyboard. (I really love these
> > two actions x)
> >
> > These dwm options (well designed) could be done on the same way as keybindings are defined,
> > so they could be easily configured by the user.
> >
> > I think some of these options can be delagated to dzen (execution of dmenu when clicking
> > a dzen button), but the interaction with the windows should be done inside dwm.
> >
> > Let me know what do you think about this, btw it could be also possible to create an
> > X11 program to wrap mouse gestures as keyboard shortcuts, and this will be probable
> > cooler (for example, click on a certain area of the Xwindows and move the mouse out of
> > it can simulate an alt+intro keybinding, etc..).
> >
> > This last option should take more sense on a kiss environment, but this will be
> > probably harder to design O:)
> >
> > --pancake
> >
> >
>
>
> --
>
>
> - yiyus || JGL .
>

  --pancake
Received on Sun Jun 17 2007 - 00:11:05 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:44:32 UTC