Commit graph

19 commits

Author SHA1 Message Date
Yuri D'Elia
5a6f9473f2 Add 'maximize_hide_bar' to also hide the bar when maximing a window. 2015-02-17 12:48:59 -06:00
Reginald Kennedy
ae2989db90 Add new option: warp_pointer.
Centers the mouse pointer on the focused window when using key bindings
to change focus, switch workspaces, change regions, etc.
2014-08-08 06:02:27 +08:00
Reginald Kennedy
3a8ade46f6 Add color_focus_maximized and color_unfocus_maximized config options.
Sets border colors on maximized windows.  Defaults to the value of
color_focus and color_unfocus, respectively.
2014-02-07 23:37:39 +08:00
Reginald Kennedy
57bfbfcfaa Add 'name' configuration option.
Set name of workspace at start-of-day.
2014-02-07 23:37:39 +08:00
Reginald Kennedy
75649b6a4b Add new option: iconic_enabled
When one or more windows are iconic, show the count in bar.

Add new bar_format character sequence: +M
Replaced with iconic window count.

Closes #19
2013-10-30 22:40:10 +08:00
Reginald Kennedy
2bf2ca8bf0 Add quirk POSIX Extended Regular Expression pattern matching.
Note that square brackets [] and colons : in patterns must be
escaped with a backslash \ in addition to any other escaping.

Add 3rd (optional) _NET_WM_NAME/WM_NAME field to quirks.
Quirks can be specified as quirk[<class>], quirk[<class>:<instance>]
or quirk[<class>:<instance>:<name>].
The 'instance' and 'name' fields are optional and will 'match all' if
omitted or 'match empty' if left blank.

Cleanup window property terms; should be 'class', 'instance' and 'name'.
title_class_enabled and title_name_enabled are now aliases for
window_class_enabled and window_instance_enabled, respectively.

Fix uniconify of windows having neither _NET_WM_NAME nor WM_NAME.

Use const in conf_load functions.
2013-10-30 08:12:44 +08:00
Reginald Kennedy
7caf33e755 Add new $dmenu_bottom spawn argument variable for use with dmenu.
Evaluates to '-b' if bar_at_bottom is enabled.

Change default dmenu spawns to include $dmenu_bottom.
2013-05-02 03:33:34 +08:00
Reginald Kennedy
f8e5a1cf72 Add boundary_width to spectrwm.conf. 2013-04-30 01:45:46 +08:00
Reginald Kennedy
083bdac7ac Fix setkeymapping to call expand_tilde for proper expansion of ~ in path.
Change validation behavior for default 'optional' applications.
Overriding the binding will no longer cause validation.
Validation will only occur when the program call is overridden.

Add details in spectrwm.conf on how to disable the default programs.

Improve man page PROGRAMS section.
Added details on default program validation and how to disable/override.
2012-12-04 14:26:28 +08:00
Reginald Kennedy
94c892a9de Add tile_gap option.
Pixel width of empty space between tiled windows.

Add region_padding option.
Pixel width of empty space within region borders.
2012-10-26 13:19:32 +08:00
Reginald Kennedy
ec0be0e550 Add new bar_border_unfocus[x] option. 2012-10-25 00:42:11 +08:00
Reginald Kennedy
d3818f73f1 Change bar_action handling to eliminate the need for bar_delay.
Old code called alarm() regularly and checked for input only at certain
times.  Now, the file descriptor for reading the text is added to the
select() in the main loop, and so updates are caught immediately and
efficiently.

Patch submitted by Jason Woofenden <jason@jasonwoof.com>

(Note: Minor modifications were made to formatting and a dummy version
of the bar_delay option was added to avoid breaking old conf files.)
2012-09-23 18:37:28 +08:00
Tiago Cunha
934bbe1ff2 Add new character sequence used for padding.
Instead of inserting sequential spaces one by one, add support for
padding with the +< character pair. Uses the specified limit or one
otherwise.
2012-06-26 19:44:27 +01:00
Reginald Kennedy
dd4e0b8dd0 Fix 'term' action binding and defaults.
Note that 'program[term]' should be used to set the terminal; not
spawn_term.

Prevent width options from being set to negative values.

Change conf autorun example to xombrero.

Improve readability of enums.
(Based on patch submitted by Jason Woofenden <jason@jasonwoof.com>)

Sort conf_load switch cases to match enum.

ok marco
2012-06-27 01:30:46 +08:00
Reginald Kennedy
f6d686fcff Add horizontal_flip and vertical_flip layout options.
Based on patch submitted by Olivier Mauras <coredumb@coredumb.net>

ok marco
2012-06-12 21:14:13 +08:00
Tiago Cunha
8ce185e7ff Add the ability to format the status-bar output.
Introduced the new bar_format configuration file keyword that allows to
customize the status-bar by providing character sequences that are
replaced accordingly, effectively supplanting the enabled options. The
default output is retained, though.

Idea taken from tmux(1).
2012-06-05 22:32:01 +01:00
Reginald Kennedy
a658878aea Add new options to change focus behavior on window open and close.
ok marco
2012-06-06 00:36:49 +08:00
Reginald Kennedy
b8de26993f Increase workspace hard limit to 22.
Add new keybindings for workspaces 11 through 22.
Defaults for ws_n and mvws_n are NOD+(F1-F12) and MOD+Shift+(F1-F12),
respectively.

Add a new configuration option 'workspace_limit' to make it possible for
the user to adjust the number of available workspaces.  Default is 10.

ok marco
2012-04-08 06:56:13 +08:00
Marco Peereboom
e83f3b7908 rename scrotwm to spectrwm 2012-02-15 14:09:13 -06:00