Commit graph

43 commits

Author SHA1 Message Date
Reginald Kennedy
28dbf3c66e Add new maximize_toggle action.
Modify floating indicator to also show 'm' for maximized state.
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
bb8117c675 Add new focus_urgent binding.
Focuses on the next window with the urgency hint set.  The workspace is
switched if needed.

Fix description of urgent_enabled in man page.
2013-07-30 00:28:31 +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
6d0c9ff207 Add ability to set tile_gap to negative values.
This makes it possible for tiled windows to overlap.  If set to the
opposite of border_width, adjacent borders will appear to collapse.

Add details to man page about negative values for tile_gap.
2013-04-30 02:59:34 +08:00
Reginald Kennedy
0cef11f17d Add ability to move/resize floating windows beyond the region boundary.
Windows will change regions based on the cursor location or, if being
moved by a key binding,  window center.

Add 'soft boundary' window containment behavior to region boundaries.
When moving a window past the region boundary, the window will 'snap' to
the region boundary until it is moved more than boundary_width distance
beyond the edge.

Add constraint to ensure windows always have at least 1 pixel in a
region.

Add new boundary_width configuration option.
Disable the window containment behavior by setting this option to 0.

Fix floating window stacking order issue on multiple-region setups.

Eliminate unneeded region parameter on load_float_geom() and
store_float_geom().
2013-04-30 01:45:46 +08:00
Reginald Kennedy
d766c1e8d1 Update copyrights. 2013-03-26 06:18:29 +08:00
Reginald Kennedy
9adcfaabcc Improve man page explanation of verbose_layout. 2013-03-21 11:58:55 +08:00
Reginald Kennedy
5cbc2896c4 Add new ws_next_move and ws_prev_move bindings.
Switches to next/prev workspace with the current window.

Improve grabkeys to only grab ws binds within workspace_limit.
2013-02-19 08:57:49 +08:00
Reginald Kennedy
fedd800f2a Add new quirk NOFOCUSONMAP.
Don't change focus to the window when it gets mapped on the screen.

Add new quirk FOCUSONMAP_SINGLE.
When the window is mapped, change focus if it is the only mapped window
on the workspace using the quirk entry.
2012-12-04 14:49:00 +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
214aca697c Fix fparseln flags to remove escape characters in the result.
For example, \# should result in #.

Add note in manpage that # must be escaped when not used in an option.
2012-11-02 02:31:34 +08:00
Reginald Kennedy
2ac03f635f Add new argument variables for programs:
$region_index
$workspace_index
2012-10-26 14:25:30 +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
18f0dc2ad0 Add focus region bindings 'rg_<n>'
Default is M-Keypad_<1-9>

Add move window to region bindings 'mvrg_<n>'
Default is M-S-Keypad_<1-9>

Add invisible input window to each region for handling region focus.

On unfocused regions, set the bar border color to color_unfocus.

Add function to handle MotionNotify events on region input windows.

Fix default focus on (re)start.

Fix region-related function and macro naming.
Names referred to 'screen' instead of 'region'

Rename screen_* bindings to rg_*.
screen_* is now an alias for rg_*; old config files will still work.

Fix screen/region wording in manpage.

Sort setkeybinding calls in setup_keys.

Cleanup redundant calls when setting up the bar.
2012-10-24 22:10:53 +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
Reginald Kennedy
4f08514872 Add new bar_enabled_ws[x] config option.
It is now possible to set the default state for bar_toggle_ws.
2012-09-06 20:20:17 +08:00
Reginald Kennedy
c2a4935a92 Add new key binding: bar_toggle_ws (M-S-b)
It is now possible to toggle the status bar on each workspace.
bar_toggle is a 'master switch' to change the visiblity of bars on all
regions.
2012-09-06 18:48:43 +08:00
Reginald Kennedy
152d9a5bbe Fix follow_cursor focus mode and rename option value to 'focus'.
Note that previous value of 'focus_cursor' is still valid.
2012-08-22 02:24:20 +08:00
Reginald Kennedy
7c89d364d9 Add new 'manual' focus_mode.
Mouse sets focus on window interaction.

Add new focus_flush() function to cleanup code.

Remove do_sync() since it is not needed.
2012-08-15 21:45:22 +08:00
Reginald Kennedy
2ca16c93ed Implement bar_font check to choose between Xft and font set backend.
Improve bar_font man page entry.

Man page cleanup.
2012-08-01 02:48:36 +08:00
Reginald Kennedy
dff29edaba Add new shutdown_cleanup function to eliminate duplicate code.
Remove some commented out code.

Update documentation for bar_font.

Explicitly set pixelsize of 12 to default fonts.
2012-07-31 23:26:30 +08:00
David Hill
1d9926af04 Add myself to the copyright 2012-07-21 06:00:04 +08:00
Reginald Kennedy
e7a547a729 Add clarification to man page that default workspace_limit is 10. 2012-07-03 22:56:32 +08:00
Tiago Cunha
f7976a5f5c Update copyrights. 2012-06-26 19:44:27 +01:00
Tiago Cunha
25791230c7 Non-left aligned text isn't truly justified.
Add a paragraph in the bar_justify configuration file keyword to inform
the user that the status-bar output isn't truly justified, in some
special cases, if not left aligned, since the default format has
white-spaces embedded.
2012-06-26 19:44:27 +01: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
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
ef1766f1a5 Fix xterm resource. 2012-06-05 22:41:50 +01:00
Tiago Cunha
bfbcbe5c62 Add new window related character sequence.
Character pair +P outputs both window class and title separated by a
colon. Might be useful to some users and it's only a few lines of code.
2012-06-05 22:32:02 +01:00
Tiago Cunha
e67f9f1bfa Character sequence for the floating indicator. 2012-06-05 22:32:02 +01:00
Tiago Cunha
e815289ab3 Window names are limited to 64 characters.
It might not be clear from a user's point of view that the default
format has the window name limited. Document it and forward to the
bar_format option.
2012-06-05 22:32:02 +01:00
Tiago Cunha
d200dcf240 Albeit obvious it also overrides clock_format. 2012-06-05 22:32:02 +01:00
Tiago Cunha
98fcba2bdb Support maximum length in the character pairs.
The specified length is used to limit the number of characters outputted
by the sequence. Thus, it's now possible to limit, for instance, the
window name length.

This fixes Flyspray bug #243.
2012-06-05 22:32:01 +01: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
9e02feddd5 Add details to man page on how to bind non-latin characters.
From: Rovanion Luckey <rovanion.luckey@gmail.com>

ok marco
2012-05-14 23:04:18 +08:00
Reginald Kennedy
95c1334554 Add default keybindings for the new workspaces to non-us keyboard layout files.
Fix typo in man page.

ok marco
2012-04-10 03:32:04 +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
Lawrence Teo
0f35da6cb6 Adjust copyright years and authors list on man page. 2012-02-15 23:45:50 -05:00
Marco Peereboom
e83f3b7908 rename scrotwm to spectrwm 2012-02-15 14:09:13 -06:00
Renamed from scrotwm.1 (Browse further)