Michael Stapelberg
67cf46fa62
Merge branch 'fix-empty-criteria'
2011-09-11 22:52:41 +01:00
Michael Stapelberg
2a215fd7e2
Bugfix: Ignore for_window commands with empty (invalid) criteria (+test) (Thanks aksr)
2011-09-11 22:52:33 +01:00
Michael Stapelberg
a41bfba47a
finally remove the deprecated 'screen' keyword from cfgparse.l
2011-09-11 22:27:31 +01:00
Michael Stapelberg
2ef54057e6
Merge branch 'new-assign' into next
2011-09-11 22:15:51 +01:00
Michael Stapelberg
24dbddc395
docs/userguide: fix the for_window syntax
2011-09-11 22:15:14 +01:00
Michael Stapelberg
332476cf0e
docs/userguide: document the new assign syntax
2011-09-11 22:15:05 +01:00
Michael Stapelberg
d82698efa7
make the old assign syntax trigger an i3-nagbar warning (it’s deprecated), adjust test
2011-09-11 22:01:36 +01:00
Michael Stapelberg
e47e100819
Introduce a new syntax for the 'assign' command:
...
Instead of using a quoted string to specify the class / title, the assign
command now uses criteria, just like the for_window command or the command
scopes.
An example comes here:
# Assign all Chromium windows (including popups) to workspace 1: www
assign [class="^Chromium$"] → 1: www
# Make the main browser window borderless
for_window [class="^Chromium$" title=" - Chromium$"] border none
This gives you more control over the matching process due to various reasons:
1) Criteria work case-sensitive by default. Use the (?i) option if you want a
case-insensitive match, like this:
assign [class="(?i)^ChroMIUM$"] → 1
2) class and instance of WM_CLASS can now be matched separately. For example,
when starting urxvt -name irssi, xprop will report this:
WM_CLASS(STRING) = "irssi", "URxvt"
The first part of this is the instance ("irssi"), the second part is the
class ("URxvt").
An appropriate assignment looks like this:
assign [class="^URxvt$" instance="irssi"] → 2
3) You can now freely use a forward slash (/) in all strings since that is no
longer used to separate class from title (in-band signaling is bad, mhkay?).
2011-09-11 21:54:13 +01:00
Michael Stapelberg
d03dffe012
Kill left-over i3-nagbar processes on 'exit'
2011-09-11 21:49:35 +01:00
Michael Stapelberg
9b671bda83
docs/userguide: provide an example of case-insensitive matching with PCRE (Thanks stfn)
2011-09-11 21:17:13 +01:00
Michael Stapelberg
b3e1fb1f3b
Make the old 'assign' case-insensitive again (+test) (Thanks aksr)
2011-09-11 21:16:45 +01:00
Michael Stapelberg
67cf37ce66
Merge branch 'pcre' into next
2011-09-11 11:41:29 +01:00
Michael Stapelberg
c1c1730516
pcre: enable UCP, UTF-8 (if available), extend t/19-match
2011-09-11 11:40:51 +01:00
Michael Stapelberg
1a91c695e7
mention PCRE in docs/userguide
2011-09-11 11:10:09 +01:00
Michael Stapelberg
8f0e0dee58
debian: add libpcre3-dev as build-dependency
2011-09-10 23:56:23 +01:00
Michael Stapelberg
430dadfa34
document the new dependency on libpcre in the DEPENDS file
2011-09-10 23:55:49 +01:00
Michael Stapelberg
2fc54aadf1
Implement support for PCRE regular expressions for all criteria (for_window, commands, assignments)
2011-09-10 23:53:11 +01:00
Michael Stapelberg
8e04867e51
extend t/19-match to also test regular expressions
2011-09-10 23:52:39 +01:00
Michael Stapelberg
32ad9f7e3a
i3-msg: include newline at the end of the reply
2011-09-05 22:55:31 +02:00
Michael Stapelberg
71b4fe9e60
Merge branch 'clean-resize' into next
2011-09-05 22:36:45 +02:00
Michael Stapelberg
77ae771476
Restrict 'resize' command to left/right for horizontal cons, up/down for vertical cons
...
This makes the interface much clearer and avoids confusion about which key to
press in which situation.
2011-09-05 22:36:04 +02:00
Michael Stapelberg
0a42a16429
Merge branch 'fix-wsnum' into next
2011-09-05 22:25:48 +02:00
Michael Stapelberg
bf4d166330
extend t/17-workspace.t to check if the numbers are assigned correctly
2011-09-05 22:24:28 +02:00
Michael Stapelberg
8928b5f55d
Bugfix: Correctly handle workspace names which do not start with a zero
2011-09-05 22:21:10 +02:00
Michael Stapelberg
b4809e9ba7
Merge branch 'master' into next
2011-08-31 14:45:14 +02:00
Michael Stapelberg
a65b5fd910
Merge branch 'fix-leaks'
2011-08-31 14:45:11 +02:00
Michael Stapelberg
e1631d6320
properly free memory/close fd upon errors (Thanks xeen)
...
Found with the static analyzer cppcheck
2011-08-31 14:44:48 +02:00
Michael Stapelberg
c3d0957efd
Merge branch 'master' into next
2011-08-29 16:05:11 +02:00
Michael Stapelberg
69dc632a4e
Merge branch 'fix-userguide'
2011-08-29 16:05:08 +02:00
Michael Stapelberg
1aa7eeb700
docs/userguide: state that mod+shift+space toggles, add link to criteria in for_window (Thanks Don)
2011-08-29 16:04:42 +02:00
Michael Stapelberg
1a34d250bb
Merge branch 'master' into next
2011-08-29 15:17:53 +02:00
Michael Stapelberg
04a886e4ee
Merge branch 'fix-borderless'
2011-08-29 15:17:50 +02:00
Michael Stapelberg
640071163f
docs/userguide: new_window: s/borderless/none/ (Thanks bjonnh)
2011-08-29 15:17:31 +02:00
Michael Stapelberg
a4804a53b8
Merge branch 'master' into next
2011-08-28 20:18:03 +02:00
Michael Stapelberg
79802cf824
debian: bump version so that apt prefers source builds over debian repository versions
2011-08-28 20:17:38 +02:00
Michael Stapelberg
abafb2b235
Merge branch 'master' into next
2011-08-28 20:07:29 +02:00
Michael Stapelberg
0b2e974893
Merge branch 'release-4.0.2'
2011-08-28 20:07:26 +02:00
Michael Stapelberg
cd9056afc7
debian: wrap debian/control correctly
2011-08-28 19:56:46 +02:00
Michael Stapelberg
f7b23e3a41
bump version number in man/asciidoc.conf
2011-08-28 19:47:03 +02:00
Michael Stapelberg
042d60c9e6
add release notes for v4.0.2
2011-08-28 19:17:43 +02:00
Michael Stapelberg
8b0fecf559
debian: update changelog for the 4.0.2 release
2011-08-28 19:09:57 +02:00
Michael Stapelberg
44ae1b50ef
Merge branch 'fix-wsnum' into next
2011-08-28 18:17:25 +02:00
Michael Stapelberg
dfda878272
Bugfix: Correctly assign a number to workspaces starting with '0: ' (Thanks SardemFF7)
2011-08-28 18:17:02 +02:00
Michael Stapelberg
e7d6cd0f1c
Merge branch 'master' into next
2011-08-28 18:03:06 +02:00
Michael Stapelberg
17c0ec19b2
Merge branch 'userguide'
2011-08-28 18:03:03 +02:00
Michael Stapelberg
5796f72885
docs/userguide: properly document command chaining and criteria
2011-08-28 18:02:49 +02:00
Michael Stapelberg
e5f10022e7
docs/userguide: properly document the resize command
2011-08-28 17:51:37 +02:00
Michael Stapelberg
aa65b507ad
Merge branch 'master' into next
2011-08-28 17:44:59 +02:00
Michael Stapelberg
1d83e776f1
Merge branch 'fix-urls'
2011-08-28 17:44:57 +02:00
Mark Kusch
1953f2c707
s/i3.zekjur.net/i3wm.org/g
2011-08-28 17:44:42 +02:00