|
@@ -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 {
|