Ryan McBride [Thu, 22 Jan 2009 06:21:23 +0000 (06:21 +0000)]
Set colors and font for dmenu based on bar; make these independently
configurable later.
To do this, we store color names as well as values; This will help us later
to suppport dynamic screen changes. Also, clean up the config parser by
storing colors in an indexed array so they can be set with a generic function.
Ryan McBride [Wed, 21 Jan 2009 01:26:56 +0000 (01:26 +0000)]
Cycle workspaces in region with alt-leftarrow and alt-rightarrow.
By default skips empty and already visible workspaces, set
cycle_empty or cycle_visible to change this behaviour.
Marco Peereboom [Tue, 20 Jan 2009 06:16:05 +0000 (06:16 +0000)]
Make bar configurable using [x] notation in .conf file. Originally from dwc
Debug and make it work from me
ClearWindow instead of overwriting text on bar
shoten variable names that made the parser even more unreadable
Ryan McBride [Tue, 20 Jan 2009 05:37:45 +0000 (05:37 +0000)]
Add alt-comma and alt-period keybindings, which increase and decrease the
number of windows in the master area.
kill the *_init and *_resize stacker hooks in favour of a single *_config.
Marco Peereboom [Mon, 19 Jan 2009 19:27:36 +0000 (19:27 +0000)]
Unfuck signal handler.
Make all screens have their own bars.
Print screen number in bar.
Fix "Alarm clock" issue due to a race between restart and alarm.
Ryan McBride [Mon, 19 Jan 2009 09:05:02 +0000 (09:05 +0000)]
Cleanup; get rid of crufty cur_ws and cur_region and replace with
root_to_reginon, which will always give a non-crufty result. Pass the
region to all keystroke handlers.
To allow for workspace commands in empty workspaces without full-force
focus-follows-mouse, track mouse-clicks on root windows and make them
override cur_focus in root_to_region().
Also, examples of more descriptive debug output for some handlers.
Ryan McBride [Mon, 19 Jan 2009 05:48:11 +0000 (05:48 +0000)]
Major churn for multi-headed support (Xrandr and plain multi-screen).
- workspaces now per-screen (X does not let you migrate windows)
- a screen has 1 or more regions (now mapped by Xrandr, later configurable)
- current_ws is dead, long live cur_focus
- only one window has real focus, but workspaces keep track ws->focus
- lots of places (especially event handlers) use cur_focus but should
identify the correct source of the event instead
- festival of pointer management to keep track of all this.
Marco Peereboom [Sun, 18 Jan 2009 03:30:51 +0000 (03:30 +0000)]
Make floaters work right. This fixes the remaining issues.
Note: firefox sucks for having that retarded "download complete" window
use "Download Statusbar" to disable that. Really you want to.
Marco Peereboom [Sun, 18 Jan 2009 00:28:20 +0000 (00:28 +0000)]
First attempt at doing pr0n! Mplayer now sort of works; switching between
ws while having floaters screws up. Some more nits need to be resolved but
this is promissing enough.
Marco Peereboom [Sat, 17 Jan 2009 14:17:09 +0000 (14:17 +0000)]
When switching stacking keep focus on current win; from joris with tweaks.
This needs to be extended for all stack swtiches however the others are
being screwed up by autofocus events. Those need to be eaten.
Ryan McBride [Fri, 16 Jan 2009 07:27:26 +0000 (07:27 +0000)]
Allow resizing (alt-h / alt-l) the master area and resetting (alt-shift-space)
the layout to it's defaults, with per-workspace, per-layout persistence.
Also switch layout cycling to the "correct" key: alt-space
Ryan McBride [Thu, 15 Jan 2009 13:59:58 +0000 (13:59 +0000)]
Initial bits of support for different layouts, needs more splitting out of
common code.
Use alt-c to cycle for now, will change to alt-space once I figure that out.