diff options
author | Orestis Floros <orestisflo@gmail.com> | 2023-09-12 19:38:17 +0200 |
---|---|---|
committer | Orestis Floros <orestisflo@gmail.com> | 2023-09-12 19:38:17 +0200 |
commit | eaeba9d8e3c538a13265d915d2105303dd9e5bd2 (patch) | |
tree | 01eddb801ca5c1fcd8c3e27b6919b4ee543afd38 | |
parent | 908c86544b6ef854dbeaa657f4e971db53f9e690 (diff) | |
download | i3-example-negative-lookahead.tar.gz i3-example-negative-lookahead.zip |
userguide: Add an example for negative lookeaheadsexample-negative-lookahead
-rw-r--r-- | docs/userguide | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/userguide b/docs/userguide index a3072c88..d211c1d5 100644 --- a/docs/userguide +++ b/docs/userguide @@ -2201,6 +2201,10 @@ bindsym $mod+x [class="(?i)firefox"] kill # kill only the About dialog from Firefox bindsym $mod+x [class="Firefox" window_role="About"] kill +# kill all windows except for Firefox and Gnome Terminal. +# case-insensitive and uses negative lookaheads, supported by PCRE +bindsym $mod+x [class="^(?i)(?!firefox)(?!gnome-terminal).*"] kill + # enable floating mode and move container to workspace 4 for_window [class="^evil-app$"] floating enable, move container to workspace 4 |