Skip to content

Commit 07b6367

Browse files
committed
feat(wm): add a splash screen for mdm devices
A little nudge for people to do the right thing, 1990s vibes.
1 parent e93751a commit 07b6367

File tree

19 files changed

+1075
-508
lines changed

19 files changed

+1075
-508
lines changed

Cargo.lock

Lines changed: 631 additions & 393 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deny.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ ignore = [
2222
allow = [
2323
"0BSD",
2424
"Apache-2.0",
25+
"Apache-2.0 WITH LLVM-exception",
2526
"Artistic-2.0",
2627
"BSD-2-Clause",
2728
"BSD-3-Clause",

dependencies.json

Lines changed: 140 additions & 99 deletions
Large diffs are not rendered by default.

docs/cli/animation-style.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Options:
1010
Desired ease function for animation
1111
1212
[default: linear]
13-
[possible values: linear, ease-in-sine, ease-out-sine, ease-in-out-sine, ease-in-quad, ease-out-quad, ease-in-out-quad, ease-in-cubic, ease-in-out-cubic, ease-in-quart, ease-out-quart, ease-in-out-quart, ease-in-quint, ease-out-quint, ease-in-out-quint,
14-
ease-in-expo, ease-out-expo, ease-in-out-expo, ease-in-circ, ease-out-circ, ease-in-out-circ, ease-in-back, ease-out-back, ease-in-out-back, ease-in-elastic, ease-out-elastic, ease-in-out-elastic, ease-in-bounce, ease-out-bounce, ease-in-out-bounce]
13+
[possible values: linear, ease-in-sine, ease-out-sine, ease-in-out-sine, ease-in-quad, ease-out-quad, ease-in-out-quad, ease-in-cubic, ease-in-out-cubic, ease-in-quart, ease-out-quart, ease-in-out-quart, ease-in-quint, ease-out-quint, ease-in-out-quint, ease-in-expo,
14+
ease-out-expo, ease-in-out-expo, ease-in-circ, ease-out-circ, ease-in-out-circ, ease-in-back, ease-out-back, ease-in-out-back, ease-in-elastic, ease-out-elastic, ease-in-out-elastic, ease-in-bounce, ease-out-bounce, ease-in-out-bounce]
1515
1616
-a, --animation-type <ANIMATION_TYPE>
1717
Animation type to apply the style to. If not specified, sets global style

docs/cli/enable-autostart.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ Options:
1212
--whkd
1313
Enable autostart of whkd
1414
15-
--ahk
16-
Enable autostart of ahk
17-
1815
--bar
1916
Enable autostart of komorebi-bar
2017

docs/cli/kill.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ Options:
99
--whkd
1010
Kill whkd if it is running as a background process
1111
12-
--ahk
13-
Kill ahk if it is running as a background process
14-
1512
--bar
1613
Kill komorebi-bar if it is running as a background process
1714

docs/cli/license.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# license
2+
3+
```
4+
Specify an email associated with an Individual Commercial Use License
5+
6+
Usage: komorebic.exe license <EMAIL>
7+
8+
Arguments:
9+
<EMAIL>
10+
Email address associated with an Individual Commercial Use License
11+
12+
Options:
13+
-h, --help
14+
Print help
15+
16+
```

docs/cli/start.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ Options:
1818
--whkd
1919
Start whkd in a background process
2020
21-
--ahk
22-
Start autohotkey configuration file
23-
2421
--bar
2522
Start komorebi-bar in a background process
2623

docs/cli/stop.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ Options:
99
--whkd
1010
Stop whkd if it is running as a background process
1111
12-
--ahk
13-
Stop ahk if it is running as a background process
14-
1512
--bar
1613
Stop komorebi-bar if it is running as a background process
1714

docs/example-configurations.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,29 @@ the example files have been downloaded. For most new users this will be in the
1616
komorebic quickstart
1717
```
1818

19+
## Corporate Devices Enrolled in MDM
20+
21+
If you are using `komorebi` on a corporate device enrolled in mobile device
22+
management, you will receive a pop-up when you run `komorebic start` reminding
23+
you that the [Komorebi License](https://github.com/LGUG2Z/komorebi-license) does
24+
not permit any kind of commercial use.
25+
26+
You can remove this pop-up by running `komorebic license <email>` with the email
27+
associated with your Individual Commercial Use License. A single HTTP request
28+
will be sent with the given email address to verify license validity.
29+
30+
## Starting komorebi
31+
1932
With the example configurations downloaded, you can now start `komorebi`,
2033
`komorebi-bar` and `whkd`.
2134

2235
```powershell
2336
komorebic start --whkd --bar
2437
```
2538

39+
If you don't want to use the komorebi status bar, you can remove the `--bar` option
40+
from the above command.
41+
2642
## komorebi.json
2743

2844
The example window manager configuration sets some sane defaults and provides

0 commit comments

Comments
 (0)