mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Add Komorebi and wkhd to windows startup #278
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Louis047 on GitHub (Jan 9, 2024).
Its kinda annoying to type the command everytime Windows starts manually, its better if we automated it by enabling startup support for both :) which will be convenient for many users who are new to this.
@wiki-Bird commented on GitHub (Jan 10, 2024):
I got around this by adding some powershell scripts to run on startup. Specially, add
startup.cmdtoC:\Users\<USERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startupwith the contents:Then, in the filepath referenced in
startup.cmd, (%USERPROFILE%\.config\startup\launch_komorebi.ps1in my case), create alaunch_komorebi.ps1file:You might need to alter the file paths slightly from what I have, but this works for me; it'll open a powershell window on startup and run the commands :)
You can also run YASB with the same method (if you use it on top of komorebi) by using the commented out command in
startup.cmdand putting your startup command in alaunch_yasb.ps1file.@LGUG2Z commented on GitHub (Jan 10, 2024):
There is a
komorebic enable-autostartcommand for this task, which I just recently fixed an unfortunate typo bug for:f3e41490b2You can still run this command and make sure that you add a space between "start" and "config" in the generated
lnkfile inshell:startup(right click and "Properties" to edit).@Louis047 commented on GitHub (Jan 15, 2024):
@LGUG2Z @wiki-Bird Thanks for the suggestions :)
I tried creating a powershell script using the start command for komorebi and wkhd and added it to
shell:startupbut failed miserably.Will try your suggestions later tomorrow 👍
Update: Tried all the steps provided but still doesn't seem to work and I don't see any powershell running after windows startup
I have created a new startup directory inside
.configand created the powershell script. If there are any alternative methods, please do let me know.Another Update: Just found out the command @wiki-Bird provided was directed to a different environment
KOMOREBI_CONFIG_HOMEwhereas mine was located inUSERPROFILEwhich is the default one.@Louis047 commented on GitHub (Jan 15, 2024):
It's working now , so I'll close the issue.
Thanks a lot for showing up and help to fix it :)
Once again, Thank you for referring to another project YASB which I was searching for since my obsession with linux started 😄