feat(wm): add a splash screen for mdm devices

A little nudge for people to do the right thing, 1990s vibes.
This commit is contained in:
LGUG2Z committed 2025-10-28 18:25:05 -07:00
1 parent 202238aecd
commit 9dbae50909
20 files changed
+831 -191

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
# border-colour
```
Set the colour for a window border kind
Usage: komorebic border-colour [OPTIONS] <R> <G> <B>
Arguments:
<R>
Red
<G>
Green
<B>
Blue
Options:
-w, --window-kind <WINDOW_KIND>
[default: single]
[possible values: single, stack, monocle, unfocused, unfocused-locked, floating]
-h, --help
Print help
```
+16
View File
@@ -0,0 +1,16 @@
# border-offset
```
Set the border offset
Usage: komorebic border-offset <OFFSET>
Arguments:
<OFFSET>
Desired offset of the window border
Options:
-h, --help
Print help
```
+16
View File
@@ -0,0 +1,16 @@
# border-width
```
Set the border width
Usage: komorebic border-width <WIDTH>
Arguments:
<WIDTH>
Desired width of the window border
Options:
-h, --help
Print help
```
+16
View File
@@ -0,0 +1,16 @@
# border
```
Enable or disable borders
Usage: komorebic border <BOOLEAN_STATE>
Arguments:
<BOOLEAN_STATE>
[possible values: enable, disable]
Options:
-h, --help
Print help
```
+16
View File
@@ -0,0 +1,16 @@
# completions
```
Generate komorebic CLI completions for the target shell
Usage: komorebic completions <SHELL>
Arguments:
<SHELL>
[possible values: bash, elvish, fish, powershell, zsh]
Options:
-h, --help
Print help
```
+16
View File
@@ -0,0 +1,16 @@
# license
```
Specify an email associated with an Individual Commercial Use License
Usage: komorebic license <EMAIL>
Arguments:
<EMAIL>
Email address associated with an Individual Commercial Use License
Options:
-h, --help
Print help
```
+3
View File
@@ -9,6 +9,9 @@ Options:
-c, --config <CONFIG>
Path to a static configuration JSON file
--bar
Start komorebi-bar in a background process
-h, --help
Print help
+4 -1
View File
@@ -3,9 +3,12 @@
```
Stop the komorebi process and restore all hidden windows
Usage: komorebic stop
Usage: komorebic stop [OPTIONS]
Options:
--bar
Stop komorebi-bar if it is running as a background process
-h, --help
Print help
+16 -1
View File
@@ -16,7 +16,6 @@ the example files have been downloaded. For most new users this will be in the
komorebic quickstart
```
### Granting Permissions
The `quickstart` command will also prompt you to grant komorebi and the terminal
@@ -26,6 +25,19 @@ will open the following System Settings tabs for you:
* Settings -> Privacy & Security -> Accessibility
* Settings -> Privacy & Security -> Screen & System Audio Recording
### Corporate Devices Enrolled in MDM
If you are using `komorebi` on a corporate device enrolled in mobile device
management, you will receive a pop-up when you run `komorebic start` reminding
you that the [Komorebi License](https://github.com/LGUG2Z/komorebi-license) does
not permit any kind of commercial use.
You can remove this pop-up by running `komorebic license <email>` with the email
associated with your Individual Commercial Use License. A single HTTP request
will be sent with the given email address to verify license validity.
## Starting komorebi
With the example configurations downloaded and permissions granted, you can now
start `komorebi`:
@@ -39,6 +51,9 @@ Alternatively, if you also want to start with the status bar, you can run:
komorebic start --bar
```
Before running the status bar, it is recommended to set the system's status bar
to autohide.
## komorebi.json
The example window manager configuration sets some sane defaults and provides