Permalink
Browse files

i3_config: Don't add workspaces for unused apps.

  • Loading branch information...
1 parent c16dc49 commit 2dbd9817f4b81a6e54ef83f0b60e90974c408472 @aszlig committed Dec 6, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 config/home/i3/settings
View
7 config/home/i3/settings
@@ -18,6 +18,13 @@
3: "chromium",
} -%}
+{# Remove all workspace names that do not have an application assigned #}
+{%- for app, ws, startup_id, class in available_apps -%}
+{%- if app not in default_apps -%}
+{{ workspace_names.pop(ws) }}
+{%- endif -%}
+{%- endfor -%}
+
{# <ws> <goto> <move> #}
{%- set workspace_keys = [
(1, '1', 'exclam'),

0 comments on commit 2dbd981

Please sign in to comment.