]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Sun, 11 Sep 2011 20:54:13 +0000 (21:54 +0100)]
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?).
Michael Stapelberg [Sun, 11 Sep 2011 20:49:35 +0000 (21:49 +0100)]
Kill left-over i3-nagbar processes on 'exit'
Michael Stapelberg [Sun, 11 Sep 2011 20:17:13 +0000 (21:17 +0100)]
docs/userguide: provide an example of case-insensitive matching with PCRE (Thanks stfn)
Michael Stapelberg [Sun, 11 Sep 2011 20:16:45 +0000 (21:16 +0100)]
Make the old 'assign' case-insensitive again (+test) (Thanks aksr)
Michael Stapelberg [Sun, 11 Sep 2011 10:41:29 +0000 (11:41 +0100)]
Merge branch 'pcre' into next
Michael Stapelberg [Sun, 11 Sep 2011 10:40:51 +0000 (11:40 +0100)]
pcre: enable UCP, UTF-8 (if available), extend t/19-match
Michael Stapelberg [Sun, 11 Sep 2011 10:10:09 +0000 (11:10 +0100)]
mention PCRE in docs/userguide
Michael Stapelberg [Sat, 10 Sep 2011 22:56:15 +0000 (23:56 +0100)]
debian: add libpcre3-dev as build-dependency
Michael Stapelberg [Sat, 10 Sep 2011 22:55:49 +0000 (23:55 +0100)]
document the new dependency on libpcre in the DEPENDS file
Michael Stapelberg [Sat, 10 Sep 2011 22:53:11 +0000 (23:53 +0100)]
Implement support for PCRE regular expressions for all criteria (for_window, commands, assignments)
Michael Stapelberg [Sat, 10 Sep 2011 22:52:39 +0000 (23:52 +0100)]
extend t/19-match to also test regular expressions
Michael Stapelberg [Mon, 5 Sep 2011 20:55:31 +0000 (22:55 +0200)]
i3-msg: include newline at the end of the reply
Michael Stapelberg [Mon, 5 Sep 2011 20:36:45 +0000 (22:36 +0200)]
Merge branch 'clean-resize' into next
Michael Stapelberg [Mon, 5 Sep 2011 20:36:04 +0000 (22:36 +0200)]
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.
Michael Stapelberg [Mon, 5 Sep 2011 20:25:48 +0000 (22:25 +0200)]
Merge branch 'fix-wsnum' into next
Michael Stapelberg [Mon, 5 Sep 2011 20:24:28 +0000 (22:24 +0200)]
extend t/17-workspace.t to check if the numbers are assigned correctly
Michael Stapelberg [Mon, 5 Sep 2011 20:21:10 +0000 (22:21 +0200)]
Bugfix: Correctly handle workspace names which do not start with a zero
Michael Stapelberg [Wed, 31 Aug 2011 12:45:14 +0000 (14:45 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Wed, 31 Aug 2011 12:45:11 +0000 (14:45 +0200)]
Merge branch 'fix-leaks'
Michael Stapelberg [Wed, 31 Aug 2011 12:44:48 +0000 (14:44 +0200)]
properly free memory/close fd upon errors (Thanks xeen)
Found with the static analyzer cppcheck
Michael Stapelberg [Mon, 29 Aug 2011 14:05:11 +0000 (16:05 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Mon, 29 Aug 2011 14:05:08 +0000 (16:05 +0200)]
Merge branch 'fix-userguide'
Michael Stapelberg [Mon, 29 Aug 2011 14:04:42 +0000 (16:04 +0200)]
docs/userguide: state that mod+shift+space toggles, add link to criteria in for_window (Thanks Don)
Michael Stapelberg [Mon, 29 Aug 2011 13:17:53 +0000 (15:17 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Mon, 29 Aug 2011 13:17:50 +0000 (15:17 +0200)]
Merge branch 'fix-borderless'
Michael Stapelberg [Mon, 29 Aug 2011 13:17:31 +0000 (15:17 +0200)]
docs/userguide: new_window: s/borderless/none/ (Thanks bjonnh)
Michael Stapelberg [Sun, 28 Aug 2011 18:18:03 +0000 (20:18 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 18:17:38 +0000 (20:17 +0200)]
debian: bump version so that apt prefers source builds over debian repository versions
Michael Stapelberg [Sun, 28 Aug 2011 18:07:29 +0000 (20:07 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 18:07:26 +0000 (20:07 +0200)]
Merge branch 'release-4.0.2'
Michael Stapelberg [Sun, 28 Aug 2011 17:56:46 +0000 (19:56 +0200)]
debian: wrap debian/control correctly
Michael Stapelberg [Sun, 28 Aug 2011 17:47:03 +0000 (19:47 +0200)]
bump version number in man/asciidoc.conf
Michael Stapelberg [Sun, 28 Aug 2011 17:17:43 +0000 (19:17 +0200)]
add release notes for v4.0.2
Michael Stapelberg [Sun, 28 Aug 2011 17:09:57 +0000 (19:09 +0200)]
debian: update changelog for the 4.0.2 release
Michael Stapelberg [Sun, 28 Aug 2011 16:17:25 +0000 (18:17 +0200)]
Merge branch 'fix-wsnum' into next
Michael Stapelberg [Sun, 28 Aug 2011 16:17:02 +0000 (18:17 +0200)]
Bugfix: Correctly assign a number to workspaces starting with '0: ' (Thanks SardemFF7)
Michael Stapelberg [Sun, 28 Aug 2011 16:03:06 +0000 (18:03 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 16:03:03 +0000 (18:03 +0200)]
Merge branch 'userguide'
Michael Stapelberg [Sun, 28 Aug 2011 16:02:49 +0000 (18:02 +0200)]
docs/userguide: properly document command chaining and criteria
Michael Stapelberg [Sun, 28 Aug 2011 15:51:37 +0000 (17:51 +0200)]
docs/userguide: properly document the resize command
Michael Stapelberg [Sun, 28 Aug 2011 15:44:59 +0000 (17:44 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 15:44:57 +0000 (17:44 +0200)]
Merge branch 'fix-urls'
Mark Kusch [Sun, 28 Aug 2011 07:59:03 +0000 (09:59 +0200)]
s/i3.zekjur.net/i3wm.org/g
Michael Stapelberg [Sun, 28 Aug 2011 15:41:23 +0000 (17:41 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 15:40:15 +0000 (17:40 +0200)]
Merge branch 'fix-ipc-name'
Peter Bui [Sun, 21 Aug 2011 20:19:53 +0000 (16:19 -0400)]
Use name_json if available, rather than non-descriptive name.
Michael Stapelberg [Sun, 28 Aug 2011 15:02:19 +0000 (17:02 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 15:02:17 +0000 (17:02 +0200)]
Merge branch 'migrate-indention'
Michael Stapelberg [Sun, 28 Aug 2011 15:01:37 +0000 (17:01 +0200)]
migrate-config: use \s, be a bit more whitespace tolerant (+test) (Thanks sbedivere)
Fixes: #457
Michael Stapelberg [Sun, 28 Aug 2011 14:18:24 +0000 (16:18 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 14:18:21 +0000 (16:18 +0200)]
Merge branch 'wizard-fix-mods'
Michael Stapelberg [Sun, 28 Aug 2011 14:16:53 +0000 (16:16 +0200)]
i3-config-wizard: Bugfix: Check the modifier mapping to decide whether to use Mod1 or Mod4
Fixes #491
Before, we assumed XK_Alt_L was in Mod1 and XK_Super_L was in Mod4 (which is
true on most systems). Now we just check if the keycode is in Mod1 or Mod4 and
write the config accordingly.
Michael Stapelberg [Sun, 28 Aug 2011 13:47:35 +0000 (15:47 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 13:47:31 +0000 (15:47 +0200)]
Merge branch 'fix-floatdock'
Michael Stapelberg [Sun, 28 Aug 2011 13:46:50 +0000 (15:46 +0200)]
Bugfix: Make 'floating enable' check for dock windows (Thanks edelkind)
Fixes #501
Michael Stapelberg [Sun, 28 Aug 2011 13:43:51 +0000 (15:43 +0200)]
t/66-assign: check if i3 crashes when assigning a dock window to floating
Michael Stapelberg [Sun, 28 Aug 2011 12:55:17 +0000 (14:55 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 12:55:14 +0000 (14:55 +0200)]
Merge branch 'userguide-wrapping'
Michael Stapelberg [Sun, 28 Aug 2011 12:54:58 +0000 (14:54 +0200)]
docs/userguide: document force_focus_wrapping config directive
Michael Stapelberg [Sat, 27 Aug 2011 14:47:53 +0000 (16:47 +0200)]
Merge branch 'colors-userguide' into next
Michael Stapelberg [Sat, 27 Aug 2011 14:47:49 +0000 (16:47 +0200)]
Merge branch 'colors-userguide'
Michael Stapelberg [Sat, 27 Aug 2011 14:47:36 +0000 (16:47 +0200)]
docs/userguide: use the default colors in the colors example
Michael Stapelberg [Sat, 27 Aug 2011 13:28:34 +0000 (15:28 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 27 Aug 2011 13:28:31 +0000 (15:28 +0200)]
Merge branch 'fix-userguide'
Michael Stapelberg [Sat, 27 Aug 2011 13:28:11 +0000 (15:28 +0200)]
docs/userguide: s/mod+h/mod+s for stacking (Thanks Tim)
Michael Stapelberg [Sat, 27 Aug 2011 11:47:57 +0000 (13:47 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 27 Aug 2011 11:47:51 +0000 (13:47 +0200)]
Merge branch 'fix-dock-reconfigure'
Michael Stapelberg [Sat, 27 Aug 2011 11:47:10 +0000 (13:47 +0200)]
Bugfix: Re-implement reconfiguring height of dock windows (+test) (Thanks thomasba)
Michael Stapelberg [Sat, 27 Aug 2011 11:03:20 +0000 (13:03 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 27 Aug 2011 11:03:17 +0000 (13:03 +0200)]
Merge branch 'fix-focus-assign'
Michael Stapelberg [Sat, 27 Aug 2011 11:02:44 +0000 (13:02 +0200)]
Bugfix: Don’t always focus floating windows (fixes focus stealing with assignments) (+test) (Thanks aksr)
Michael Stapelberg [Fri, 26 Aug 2011 21:33:40 +0000 (23:33 +0200)]
Merge branch 'fix-yajl-warning' into next
stfn [Fri, 26 Aug 2011 01:44:42 +0000 (03:44 +0200)]
ipc.c: Fix warning
Michael Stapelberg [Fri, 26 Aug 2011 17:18:16 +0000 (19:18 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Fri, 26 Aug 2011 17:18:13 +0000 (19:18 +0200)]
Merge branch 'fix-move-focus'
Michael Stapelberg [Fri, 26 Aug 2011 17:11:46 +0000 (19:11 +0200)]
Bugfix: Re-enable X11 Eventmask *after* pushing all the X11 changes
This should fix focus problems where EnterNotify events were generated while
moving windows. Hopefully it does not trigger any regressions :).
Fixes #500
Michael Stapelberg [Fri, 26 Aug 2011 10:37:04 +0000 (12:37 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Fri, 26 Aug 2011 10:37:00 +0000 (12:37 +0200)]
Merge branch 'fix-duplicate-ws-assign'
Michael Stapelberg [Fri, 26 Aug 2011 10:35:42 +0000 (12:35 +0200)]
Bugfix: Correctly recognize duplicate workspace assignments (Thanks Moredread)
Example of a faulty config:
workspace 5 VGA1
workspace 5 LVDS1
Fixes #498, #499
Michael Stapelberg [Fri, 26 Aug 2011 01:33:36 +0000 (03:33 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Fri, 26 Aug 2011 01:33:26 +0000 (03:33 +0200)]
update changelog (not releasing yet)
Michael Stapelberg [Fri, 26 Aug 2011 01:24:14 +0000 (03:24 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Fri, 26 Aug 2011 01:24:10 +0000 (03:24 +0200)]
Merge branch 'fix-warning'
Michael Stapelberg [Fri, 26 Aug 2011 01:23:57 +0000 (03:23 +0200)]
Fix prototype of con_inside_focused
Michael Stapelberg [Fri, 26 Aug 2011 01:18:16 +0000 (03:18 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Fri, 26 Aug 2011 01:18:12 +0000 (03:18 +0200)]
Merge branch 'fix-focus-parent'
Michael Stapelberg [Fri, 26 Aug 2011 01:17:41 +0000 (03:17 +0200)]
Correctly render containers when a split container is focused
Michael Stapelberg [Fri, 26 Aug 2011 00:02:50 +0000 (02:02 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Fri, 26 Aug 2011 00:02:47 +0000 (02:02 +0200)]
Merge branch 'fix-assign'
Michael Stapelberg [Fri, 26 Aug 2011 00:01:06 +0000 (02:01 +0200)]
Bugfix: Only consider tiling windows when attaching tiling windows to workspaces (Thanks Tucos)
Fixes #436
Michael Stapelberg [Thu, 25 Aug 2011 23:20:18 +0000 (01:20 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Thu, 25 Aug 2011 23:20:14 +0000 (01:20 +0200)]
Merge branch 'wizard-click'
Michael Stapelberg [Thu, 25 Aug 2011 23:19:46 +0000 (01:19 +0200)]
i3-config-wizard: handle mouse button clicks on <win> and <alt>
Michael Stapelberg [Thu, 25 Aug 2011 19:59:19 +0000 (21:59 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Thu, 25 Aug 2011 19:59:15 +0000 (21:59 +0200)]
Merge branch 'fix-set-tabs'
Michael Stapelberg [Thu, 25 Aug 2011 19:58:03 +0000 (21:58 +0200)]
Bugfix: Accept '\t' in the 'set' command, don’t die but ELOG in case of errors (Thanks atsutane)
Michael Stapelberg [Thu, 25 Aug 2011 16:51:02 +0000 (18:51 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Thu, 25 Aug 2011 16:50:58 +0000 (18:50 +0200)]
Merge branch 'fix-i3bar-input'
Michael Stapelberg [Thu, 25 Aug 2011 16:46:08 +0000 (18:46 +0200)]
i3bar: Bugfix: When receiving EOF, immediately redraw and discard input
Michael Stapelberg [Thu, 25 Aug 2011 15:10:45 +0000 (17:10 +0200)]
Bugfix: set statusline = NULL, print error messages about EOF/SIGCHLD to stderr (Thanks cls)