This commit migrates another bunch of code from komorebi to start implementing inter-process communication using Unix domain sockets. For this commit a small subsection of the SocketMessage with maximum utility has been migrated: FocusWindow, MoveWindow, ChangeLayout, and TogglePause. This includes migrating their handlers in process_command, and setting up a UnixListener when creating a WindowManager instance. To be able to test this functionality I also implemented a basic skeleton of komorebic and migrated the komorebi-client library. There are some random fixes included here now that we are listening to a UnixListener on a separate thread, which includes wrapping structs from the objc2 crate which don't have Send and Sync implemented, so that they can be implemented in the komorebi lib. I also took the time to figure out how to calculate a monitor's work area size, excluding the dock and the menu bar, and started to split out Workspace and Monitor into their own modules. It looks like a lot of changes but most if this is just pulling in stuff from the Windows implementation.
komorebi for Mac
Tiling Window Management for macOS.
Overview
komorebi for Mac is a tiling window manager that works as an extension to the standard macOS desktop environment.
komorebi for Mac aims to make as few modifications as possible to the operating system and desktop environment by default.
komorebi for Mac is currently under development, and this repository is currently restricted to sponsors.
Community
There is a Discord server available for komorebi-related discussion, help, troubleshooting etc. If you have any specific feature requests or bugs to report, please create an issue in this repository.
There is a YouTube channel where I post komorebi development videos, feature previews and release overviews. Subscribing to the channel (which is monetized as part of the YouTube Partner Program) and watching videos is a really simple and passive way to contribute financially to the development and maintenance of komorebi.
There is an Awesome List which showcases the many awesome projects that exist in the komorebi ecosystem.
Licensing for Personal Use
komorebi
is educational source software.
komorebi is licensed under
the Komorebi 2.0.0 license, which
is a fork of
the PolyForm Strict 1.0.0 license.
On a high level this means that you are free to do whatever you want with
komorebi for personal use other than redistribution, or distribution of new
works (i.e. hard-forks) based on the software.
Anyone is free to make their own fork of komorebi with changes intended either
for personal use or for integration back upstream via pull requests.
The Komorebi 2.0.0 License does
not permit any kind of commercial use ( i.e. using komorebi at work).
Sponsorship for Personal Use
komorebi for Mac is a free and educational source project, and one that encourages you to make charitable donations if you find the software to be useful and have the financial means.
I encourage you to make a charitable donation to the Palestine Children's Relief Fund or to contribute to a Gaza Funds campaign before you consider sponsoring me on GitHub.
GitHub Sponsors is enabled for this project. Sponsors can claim custom roles on the Discord server, get shout outs at the end of komorebi-related videos on YouTube, gain the ability to submit feature requests on the issue tracker, and receive releases of komorebi with "easter eggs" on physical media.
If you would like to tip or sponsor the project but are unable to use GitHub
Sponsors, you may also sponsor through Ko-fi, or
make an anonymous Bitcoin donation to
bc1qv73wzspc77k46uty4vp85x8sdp24mphvm58f6q.
Licensing for Commercial Use
A dedicated Individual Commercial Use License will eventually be made available
for those who want to use komorebi at work.
The Individual Commerical Use License will add “Commercial Use” as a “Permitted Use” for the licensed individual only, for the duration of a valid paid license subscription only. All provisions and restrictions enumerated in the Komorebi License will continue to apply.