Commit graph

83 commits

Author SHA1 Message Date
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)