From: Thomas Praxl Date: Tue, 26 Dec 2017 10:29:42 +0000 (+0100) Subject: Shorten comment for workspace variables X-Git-Tag: 4.15~22^2 X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=commitdiff_plain;h=941fe9ab4f49eb08a34b2e3e727be3b4d3ae05ae 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. --- 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"