Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

i3_config: Don't add workspaces for unused apps.

  • Loading branch information...
commit 2dbd9817f4b81a6e54ef83f0b60e90974c408472 1 parent c16dc49
aszlig authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 config/home/i3/settings
7 config/home/i3/settings
View
@@ -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'),
Please sign in to comment.
Something went wrong with that request. Please try again.