Browse Source

Make some minor changes

Samuel W. Flint 3 years ago
parent
commit
59ef8f554a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      i3-workspace-layout

+ 3 - 3
i3-workspace-layout

@@ -9,12 +9,12 @@ LAYOUT=$1
 WORKSPACE=$2
 
 function define_workspace {
-    i3-save-tree --workspace ${WORKSPACE} > ~/.config/i3/layouts/${NAME}.json
-    emacsclient --alternate-editor="" -n ~/.config/i3/layouts/${NAME}.json
+    i3-save-tree --workspace "${WORKSPACE}" > "~/.config/i3/layouts/${NAME}.json"
+    emacsclient --alternate-editor="" -n "~/.config/i3/layouts/${NAME}.json"
 }
 
 function edit_workspace {
-    emacsclient --alternate-editor="" -n ~/.config/i3/layouts/${WORKSPACE}.json
+    emacsclient --alternate-editor="" -n "~/.config/i3/layouts/${WORKSPACE}.json"
 }
 
 function list_workspaces {