[dwm] dmenu with mouse support?

From: pancake <pancake_AT_youterm.com>
Date: Fri, 1 Jun 2007 17:45:47 +0200

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

So I have different proposals to make dmenu and dwm more mouse friendly. Let
me know what do you think about this.


 - 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>)


 - 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:)

Received on Fri Jun 01 2007 - 17:45:52 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:43:25 UTC