aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorThomas Praxl <thomas@macrominds.de>2017-12-26 11:29:42 +0100
committerThomas Praxl <thomas@macrominds.de>2017-12-26 11:29:42 +0100
commit941fe9ab4f49eb08a34b2e3e727be3b4d3ae05ae (patch)
tree864343bdb87c8b7f28ec97bed3ad044c9e761dd9 /etc
parent0600b11d2b151fa034cd6bdfa2ad4ccdcfe1f184 (diff)
downloadi3-941fe9ab4f49eb08a34b2e3e727be3b4d3ae05ae.tar.gz
i3-941fe9ab4f49eb08a34b2e3e727be3b4d3ae05ae.zip
Shorten comment for workspace variables
The old comments gave the impression that you had to define workspace names upfront, which is not true. This also keeps the overall config as brief as possible.
Diffstat (limited to 'etc')
-rw-r--r--etc/config13
-rw-r--r--etc/config.keycodes13
2 files changed, 4 insertions, 22 deletions
diff --git a/etc/config b/etc/config
index 77966e8a..f08dac99 100644
--- a/etc/config
+++ b/etc/config
@@ -104,17 +104,8 @@ bindsym Mod1+Shift+minus move scratchpad
# If there are multiple scratchpad windows, this command cycles through them.
bindsym Mod1+minus scratchpad show
-# Define workspaces along with their labels
-#
-# Customize your workspace labels here.
-# Example:
-#
-# set $ws1 "Terminals"
-#
-# or
-#
-# set $ws1 "1: Terminals"
-#
+# Define names for default workspaces for which we configure key bindings later on.
+# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
diff --git a/etc/config.keycodes b/etc/config.keycodes
index 86eadb82..a22f1617 100644
--- a/etc/config.keycodes
+++ b/etc/config.keycodes
@@ -91,17 +91,8 @@ bindcode $mod+38 focus parent
# focus the child container
#bindsym $mod+d focus child
-# Define workspaces along with their labels
-#
-# Customize your workspace labels here.
-# Example:
-#
-# set $ws1 "Terminals"
-#
-# or
-#
-# set $ws1 "1: Terminals"
-#
+# Define names for default workspaces for which we configure key bindings later on.
+# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"