mirror of
https://github.com/coastalwhite/lemurs
synced 2024-11-29 05:00:17 +00:00
Add assets and doc
This commit is contained in:
parent
f6a0f2ec9d
commit
0cfedf0102
3 changed files with 113 additions and 0 deletions
45
assets/icon.svg
Normal file
45
assets/icon.svg
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
viewBox="0 0 512 512" xml:space="preserve">
|
||||||
|
<path style="fill:#325763;" d="M434.087,261.565c0-9.22-7.475-16.696-16.696-16.696c-9.22,0-16.696,7.475-16.696,16.696v47.49
|
||||||
|
l64.557,0.371L434.087,261.565z"/>
|
||||||
|
<path style="fill:#05232E;" d="M467.478,309.055v-47.49c0-9.22-7.475-16.696-16.696-16.696c-9.22,0-16.696,7.475-16.696,16.696
|
||||||
|
v47.49H467.478z"/>
|
||||||
|
<polygon style="fill:#F6D76F;" points="467.478,278.261 434.087,278.261 410.713,317.96 434.087,356.174 478.609,337.093
|
||||||
|
496.047,318.701 478.609,300.522 "/>
|
||||||
|
<g>
|
||||||
|
<polygon style="fill:#05232E;" points="478.609,300.522 478.609,337.093 512,322.783 512,300.522 "/>
|
||||||
|
<path style="fill:#05232E;" d="M375.621,278.261c0,33.021,0.959,48.835,0.959,77.913h57.507v-77.913H375.621z"/>
|
||||||
|
<path style="fill:#05232E;" d="M278.261,445.217c0,24.588,19.933,44.522,44.522,44.522h22.261c0-12.295-9.966-22.261-22.261-22.261
|
||||||
|
V322.412h-44.522V445.217z"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path style="fill:#6B8F9C;" d="M133.565,322.783l-17.438-14.47l-15.953,14.47c0,18.441,14.949,33.391,33.391,33.391
|
||||||
|
c15.953-11.501,26.527-20.221,39.699-33.391H133.565z"/>
|
||||||
|
<polygon style="fill:#6B8F9C;" points="133.565,122.435 116.87,105.739 100.174,122.435 100.174,155.826 116.87,174.005
|
||||||
|
133.565,155.826 "/>
|
||||||
|
<polygon style="fill:#6B8F9C;" points="133.565,189.217 116.87,174.005 100.174,189.217 100.174,222.609 116.87,239.304
|
||||||
|
133.565,222.609 "/>
|
||||||
|
<polygon style="fill:#6B8F9C;" points="133.565,256 116.87,239.304 100.174,256 100.174,289.391 117.612,304.603 133.565,289.391
|
||||||
|
"/>
|
||||||
|
</g>
|
||||||
|
<path style="fill:#325763;" d="M133.565,89.043c0-36.883-29.9-66.783-66.783-66.783L48.603,40.44l18.179,15.212
|
||||||
|
c18.442,0,33.391,14.95,33.391,33.391l16.696,17.438L133.565,89.043z"/>
|
||||||
|
<g>
|
||||||
|
<rect x="100.174" y="289.391" style="fill:#05232E;" width="33.391" height="33.391"/>
|
||||||
|
<rect x="100.174" y="222.609" style="fill:#05232E;" width="33.391" height="33.391"/>
|
||||||
|
<rect x="100.174" y="155.826" style="fill:#05232E;" width="33.391" height="33.391"/>
|
||||||
|
<rect x="100.174" y="89.043" style="fill:#05232E;" width="33.391" height="33.391"/>
|
||||||
|
<path style="fill:#05232E;" d="M66.783,22.261C29.9,22.261,0,52.161,0,89.043c0,9.22,7.475,16.696,16.696,16.696
|
||||||
|
s16.696-7.475,16.696-16.696c0-18.441,14.949-33.391,33.391-33.391V22.261z"/>
|
||||||
|
</g>
|
||||||
|
<path style="fill:#F6D76F;" d="M355.803,300.892l-120.209-0.742c0,12.169,0.318,35.617,0.318,56.023h120.261
|
||||||
|
C356.174,337.733,355.803,325.379,355.803,300.892z"/>
|
||||||
|
<path style="fill:#325763;" d="M267.13,222.609c-33.88,0-64.807,12.621-88.353,33.409c-0.23-0.002-0.459-0.018-0.69-0.018
|
||||||
|
l-0.1,0.718c-19.307,17.317-33.548,40.168-40.214,66.065c-2.747,10.673-4.208,21.861-4.208,33.391v89.043
|
||||||
|
c0,24.588,19.934,44.522,44.522,44.522h22.261c0-12.295-9.966-22.261-22.261-22.261v-77.913c24.715,0,46.277-13.436,57.826-33.391
|
||||||
|
c5.685-9.825,8.957-21.222,8.957-33.391h77.913c18.442,0,33.391,14.95,33.391,33.391v89.043c0,24.588,19.933,44.522,44.522,44.522
|
||||||
|
h22.261c0-12.295-9.966-22.261-22.261-22.261V356.174c0-29.078-9.297-55.983-25.075-77.913
|
||||||
|
C351.374,244.559,311.818,222.609,267.13,222.609z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.2 KiB |
29
assets/text-icon.svg
Normal file
29
assets/text-icon.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 35 KiB |
39
doc/internals.md
Normal file
39
doc/internals.md
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# Internals
|
||||||
|
|
||||||
|
## Boot Sequence
|
||||||
|
|
||||||
|
As input, it will
|
||||||
|
|
||||||
|
### 0. Take snapshot of the environment variables.
|
||||||
|
1. Set `DISPLAY` environment variable
|
||||||
|
2. Set `XDG` session parameters.
|
||||||
|
1. `XDG_SESSION_CLASS` with `user`
|
||||||
|
2. `XDG_SESSION_DESKTOP` with `$DESKTOP` # NOT YET IMPLEMENTED
|
||||||
|
3. `XDG_CURRENT_DESKTOP` with `$DESKTOP` # NOT YET IMPLEMENTED
|
||||||
|
4. `XDG_SESSION_TYPE` with `tty` / `x11` / `wayland`
|
||||||
|
4. Call PAM with Username and Password
|
||||||
|
5. Set `XDG` seat variables. Since `pam_systemd` / `logind` may set these variables, they are only set if they are not set already.
|
||||||
|
1. `XDG_SEAT` with `seat0`
|
||||||
|
2. `XDG_VTNR` with `$TTY`
|
||||||
|
6. Set `XDG` session variables. Since `pam_systemd` / `logind` may set these variables, they are only set if they are not set already. The variables and their default values are:
|
||||||
|
1. `XDG_RUNTIME_DIR` with `/run/user/$UID`
|
||||||
|
2. `XDG_SESSION_ID` with `1`
|
||||||
|
5. Set basic environment variables
|
||||||
|
1. `HOME` with user's home directory in `/etc/passwd`
|
||||||
|
2. `PWD` to the user's home directory in `/etc/passwd`
|
||||||
|
3. `SHELL` to the user's shell in the `/etc/passwd` file
|
||||||
|
4. `USER` to the username
|
||||||
|
5. `LOGNAME` to the username
|
||||||
|
6. `PATH` to `/usr/local/sbin:/usr/local/bin:/usr/bin`
|
||||||
|
6. Set `XDG` common paths.
|
||||||
|
1. `XDG_CONFIG_DIR` with `$HOME/.config`
|
||||||
|
2. `XDG_CACHE_HOME` with `$HOME/.cache`
|
||||||
|
3. `XDG_DATA_HOME` with `$HOME/.local/share`
|
||||||
|
4. `XDG_STATE_HOME` with `$HOME/.local/state`
|
||||||
|
5. `XDG_DATA_DIRS` with `/usr/local/share:/usr/share`
|
||||||
|
6. `XDG_CONFIG_DIRS` with `/etc/xdg`
|
||||||
|
7. Start Session Environment. This can possibly set more environment variables.
|
||||||
|
8. Log UTMP Entry
|
||||||
|
10. Restore to previously taken snapshot
|
||||||
|
11. Wait for Session Environment to Finish
|
||||||
|
```
|
Loading…
Reference in a new issue