diff options
author | Michael Cardell Widerkrantz <mc@hack.org> | 2011-11-23 13:02:45 +0100 |
---|---|---|
committer | Michael Cardell Widerkrantz <mc@hack.org> | 2011-11-23 13:02:45 +0100 |
commit | 6860491c78b9474eb9b2ed0b55899f289d3c6a44 (patch) | |
tree | e799146ca371abb9aecb324c2e978a7beed8bd65 /mcwm.man | |
parent | d7c29ade87692d35d60d1c4b8338ca5fe63d5723 (diff) | |
download | mcwm-6860491c78b9474eb9b2ed0b55899f289d3c6a44.zip |
Simplified and renamed start_terminal() to start() which can start any
program. Skip the double fork() and explicitly ignore SIGCHLD to fend
off zombies.
Added support for mouse buttons on root window to optionally start a
program with start(). By default mouse button three starts mcmenu
which must be in PATH.
Diffstat (limited to 'mcwm.man')
-rw-r--r-- | mcwm.man | 27 |
1 files changed, 26 insertions, 1 deletions
@@ -147,7 +147,10 @@ cursor. Of course, changing workspaces has nothing to do with the focused window. .PP If you don't like the default key bindings, border width, et cetera, -look in the config.h file, change and recompile. +look in the config.h file, change and recompile. In the config.h file +you can also define mouse button actions on the root window. By +default button 3 starts the command mcmenu. You can write your own +mcmenu by using, for instance, 9menu or ratmenu. .PP .SH STARTING Typically the window manager is started from a script, either run by @@ -179,5 +182,27 @@ exec urxvt .fi .in -4 .sp +.PP +You may also want to define an mcmenu program for use with mcwm. +Here's a complete example using the 9menu program: +.sp +.in +4 +.nf +\&#! /bin/sh +9menu -bg black -fg white \\ + -popup \\ + 'cpu:urxvt -e ssh cpu.example.org' \\ + ':' \\ + 'VGA On: xrandr --output VGA --on' \\ + 'VGA Off: xrandr --output VGA --off' \\ + 'VGA Above: xrandr --output VGA --auto --above LVDS' \\ + ':' \\ + 'HHKB: xkbcomp -I$HOME/conf/xkb $HOME/conf/xkb/hhkb.xkb $DISPLAY' \\ + 'Thinkpad: xmodmap /home/mc/lib/xmodmap/thinkpad-x60.xmodmap' \\ + ':' \\ + 'close:' +.fi +.in -4 +.sp .SH AUTHOR Michael Cardell Widerkrantz <mc@hack.org>. |