Browse Source

Avoid using "number" for workspace switching

Samuel W. Flint 4 years ago
parent
commit
643ad63872
1 changed files with 1 additions and 1 deletions
  1. 1 1
      i3-workspace-layout

+ 1 - 1
i3-workspace-layout

@@ -36,7 +36,7 @@ function apply_workspace {
 function apply_workspace_number {
     # i3-msg "workspace number ${WORKSPACENUMBER}"
     if [[ -e ~/.config/i3/layouts/${LAYOUT}.json ]] ; then
-        i3-msg "workspace number ${WORKSPACE}; append_layout ~/.config/i3/layouts/${LAYOUT}.json"
+        i3-msg "workspace \"${WORKSPACE}\"; append_layout ~/.config/i3/layouts/${LAYOUT}.json"
         [[ -e ~/.config/i3/layouts/${LAYOUT}.after ]] && sh ~/.config/i3/layouts/${LAYOUT}.after
     else
         i3-nagbar -m "${LAYOUT} not available" -t error