소스 검색

Avoid using "number" for workspace switching

Samuel W. Flint 4 년 전
부모
커밋
643ad63872
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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