From 941fe9ab4f49eb08a34b2e3e727be3b4d3ae05ae Mon Sep 17 00:00:00 2001 From: Thomas Praxl Date: Tue, 26 Dec 2017 11:29:42 +0100 Subject: [PATCH] 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. --- etc/config | 13 ++----------- etc/config.keycodes | 13 ++----------- 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"