mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 22:12:53 +01:00
feat(ahk): update cfgen, reintroduce ahk files
This commit updates the config generator used by the ahk-asc command to emit AHKv2 syntax. An AHKv2 syntax-compatible komorebic.lib.ahk has been (re)introduced to the repo root as a file to be distributed. This file is created by taking the AHKv1 syntax output of ahk-library and automatically converting it to AHKv2 using the automatic script converter by @mmikeww available on GitHub. Given that ahk-library is still being used to emit AHKv1 syntax in this pipeline, it will remain in the repo. The justfile has been updated to automate as much of this as possible (the converter still needs to be run manually). re #324
This commit is contained in:
9
justfile
9
justfile
@@ -22,7 +22,14 @@ install-komorebi:
|
||||
install:
|
||||
just install-komorebic
|
||||
just install-komorebi
|
||||
cat '~/.config/komorebi/komorebi.generated.ps1' > komorebi.generated.ps1
|
||||
komorebic ahk-asc '~/komorebi-application-specific-configuration/applications.yaml'
|
||||
komorebic pwsh-asc '~/komorebi-application-specific-configuration/applications.yaml'
|
||||
cat '~/.config/komorebi/komorebi.generated.ps1' >komorebi.generated.ps1
|
||||
cat '~/.config/komorebi/komorebi.generated.ahk' >komorebi.generated.ahk
|
||||
echo '#Requires AutoHotkey v2.0.2' >komorebic.lib.ahk
|
||||
echo '#SingleInstance Force' >>komorebic.lib.ahk
|
||||
echo '' >>komorebic.lib.ahk
|
||||
cat '~/.config/komorebi/komorebic.lib_newV2.ahk' >>komorebic.lib.ahk
|
||||
|
||||
run:
|
||||
just install-komorebic
|
||||
|
||||
Reference in New Issue
Block a user