feat(config): add pwsh cfgen + ps1 file watcher

This commit adds a command to generate application-specific
configuration in the format of a PowerShell ps1 file, as well as the
ability to automatically launch a komorebi.ps1 configuration file on
startup.

If a komorebi.ps1 file is found and launched at startup, the
watch-configuration command will watch and hot reload this file when any
changes are made.

A sample komorebi.ps1 file has been added to the root of the repository,
along with a sample whkdrc file, showing how the two can be used
together to replace AHK.

re #339
This commit is contained in:
LGUG2Z
2023-01-20 17:02:43 -08:00
committed by جاد
parent b89e5eafd2
commit afde7a3fb5
9 changed files with 696 additions and 31 deletions

View File

@@ -25,6 +25,7 @@ install:
komorebic ahk-library
cat '%USERPROFILE%\.config\komorebi\komorebic.lib.ahk' > komorebic.lib.ahk
cat '%USERPROFILE%\.config\komorebi\komorebi.generated.ahk' > komorebi.generated.ahk
cat '%USERPROFILE%\.config\komorebi\komorebi.generated.ps1' > komorebi.generated.ps1
run:
just install-komorebic