From 5fd90d222d1676873ac31333a3e41bf503d03882 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Wed, 8 Nov 2023 07:55:05 -0800 Subject: [PATCH] fix(docs): quote $env:userprofile in quickstart to handle spaces --- README.md | 8 ++++---- komorebi.example.json | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7129c985..44442de8 100644 --- a/README.md +++ b/README.md @@ -187,19 +187,19 @@ winget install LGUG2Z.whkd winget install LGUG2Z.komorebi # save the example configuration to ~/komorebi.json -iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/master/komorebi.example.json -OutFile $Env:USERPROFILE\komorebi.json +iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/master/komorebi.example.json -OutFile "$Env:USERPROFILE\komorebi.json" # save the latest generated app-specific config tweaks and fixes komorebic fetch-app-specific-configuration # ensure the ~/.config folder exists -mkdir $Env:USERPROFILE\.config -ea 0 +mkdir "$Env:USERPROFILE\.config" -ea 0 # save the sample whkdrc file with key bindings to ~/.config/whkdrc -iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/master/whkdrc.sample -OutFile $Env:USERPROFILE\.config\whkdrc +iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/master/whkdrc.sample -OutFile "$Env:USERPROFILE\.config\whkdrc" # start komorebi and whkd -komorebic start -c $Env:USERPROFILE\komorebi.json --whkd +komorebic start -c "$Env:USERPROFILE\komorebi.json" --whkd ``` Thanks to [@sitiom](https://github.com/sitiom) for getting _komorebi_ added to both the popular Scoop Extras bucket and diff --git a/komorebi.example.json b/komorebi.example.json index 8b3dc70d..1bbc5358 100644 --- a/komorebi.example.json +++ b/komorebi.example.json @@ -1,4 +1,5 @@ { + "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/master/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.yaml", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert",