Place komorebi files in a .komorebi-config home folder by default #100

Closed
opened 2026-01-05 14:48:20 +01:00 by adam · 4 comments
Owner

Originally created by @johnnaaron on GitHub (Jun 26, 2022).

Komorebi might benefit from its own .config folder (.komorebi) to avoid polluting the home folder, since it ends up having 4 or 5 files sitting there on a standard scoop install. This would be similar to Yabai's behavior, which allows configuration files in:

$HOME/yabai/
$HOME/.yabai/
$HOME/.config/yabai/
or just as
$HOME/.yabairc

Originally created by @johnnaaron on GitHub (Jun 26, 2022). Komorebi might benefit from its own .config folder (.komorebi) to avoid polluting the home folder, since it ends up having 4 or 5 files sitting there on a standard scoop install. This would be similar to Yabai's behavior, which allows configuration files in: `$HOME/yabai/` `$HOME/.yabai/` `$HOME/.config/yabai/` or just as `$HOME/.yabairc`
adam closed this issue 2026-01-05 14:48:20 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Jun 26, 2022):

Please check out this part of the readme which talks about setting a custom folder for configuration and related files using an environment variable.

I and many others use this to ensure that the $HOME dir stays free of both config and runtime files.

@LGUG2Z commented on GitHub (Jun 26, 2022): Please check out [this part of the readme](https://github.com/LGUG2Z/komorebi#setting-a-custom-komorebi_config_home-directory) which talks about setting a custom folder for configuration and related files using an environment variable. I and many others use this to ensure that the `$HOME` dir stays free of both config and runtime files.
Author
Owner

@LGUG2Z commented on GitHub (Jun 26, 2022):

The default behaviour will eventually be changed with the next "breaking change" release, but for now there are already hundreds of people using komorebi with the default $HOME dir and unfortunately this isn't the kind of change that can be pushed on them with a minor release.

Coincidentally my least favourite memories of using chunkwm and yabai were when I'd do a brew update and breaking changes meant spending hours getting everything working again. 😅

@LGUG2Z commented on GitHub (Jun 26, 2022): The default behaviour will eventually be changed with the next "breaking change" release, but for now there are already hundreds of people using `komorebi` with the default `$HOME` dir and unfortunately this isn't the kind of change that can be pushed on them with a minor release. Coincidentally my least favourite memories of using `chunkwm` and `yabai` were when I'd do a `brew update` and breaking changes meant spending hours getting everything working again. 😅
Author
Owner

@johnnaaron commented on GitHub (Jul 15, 2022):

Ah, gotcha! Thank you, that makes sense.

@johnnaaron commented on GitHub (Jul 15, 2022): Ah, gotcha! Thank you, that makes sense.
Author
Owner

@es183923 commented on GitHub (Jul 15, 2022):

I think you could just add the folllowing directories in this order:

~.config/komorebi
~/.komorebi
~

This way, users can have their config in ~/.config/komorebi (or move it there), and komorebi would parse it

@es183923 commented on GitHub (Jul 15, 2022): I think you could just add the folllowing directories in this order: ``` ~.config/komorebi ~/.komorebi ~ ``` This way, users can have their config in ~/.config/komorebi (or move it there), and komorebi would parse it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#100