Skip to content

Conversation

@aryan-212
Copy link

@aryan-212 aryan-212 commented Sep 25, 2023

So I copied, "komorebic start -c $Env:USERPROFILE\komorebi.json --whkd" into a .ps1 file, made it into an exe, wrote a script to download it into the Start-up directory and published it.

@LGUG2Z
Copy link
Owner

LGUG2Z commented Sep 26, 2023

Hey @aryan-212, thanks for taking a stab at this! I think you are on the right track with your thinking, but we should tweak the implementation a little.

Generally speaking I don't think it's a good idea to instruct people to CURL .exe files when it's possible to generate something equivalent locally at the discretion of the user.

Take a look at this commit over at the espanso repository: espanso/espanso@64886ff

I would like to do something similar here, giving users komorebic commands to both register and unregister the autostarting service shortcut, and giving them the opportunity to customize the arguments to the start command with their own paths to their configuration files, and also letting them decide if they want to start whkd or ahk, or maybe neither.

I was going to work on this myself later this month, but if you'd like to try working on it on this branch and PR I'd be happy to provide feedback as you go along!

@aryan-212
Copy link
Author

Hey @aryan-212, thanks for taking a stab at this! I think you are on the right track with your thinking, but we should tweak the implementation a little.

Generally speaking I don't think it's a good idea to instruct people to CURL .exe files when it's possible to generate something equivalent locally at the discretion of the user.

Take a look at this commit over at the espanso repository: espanso/espanso@64886ff

I would like to do something similar here, giving users komorebic commands to both register and unregister the autostarting service shortcut, and giving them the opportunity to customize the arguments to the start command with their own paths to their configuration files, and also letting them decide if they want to start whkd or ahk, or maybe neither.

I was going to work on this myself later this month, but if you'd like to try working on it on this branch and PR I'd be happy to provide feedback as you go along!

Cool, I'll take a go at it.

@LGUG2Z LGUG2Z closed this Oct 22, 2023
@aryan-212 aryan-212 deleted the auto-start-new branch October 22, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants