64 lines
1.6 KiB
Markdown
64 lines
1.6 KiB
Markdown
# Element Web Modifications
|
|
For version [f0ck.it version: 1.9.4-19](https://github.com/vector-im/element-web)
|
|
|
|
![Element Showcase](https://git.lat/schrumpel/element-modifications/raw/branch/master/img/2021-08-12_13-24.png "Element Showcase")
|
|
|
|
Running at https://chat.f0ck.it
|
|
|
|
- glowers patchset (greentexting)
|
|
- custom.css with some quality of life enhancements like smaller images/videos
|
|
- Atmos default theme
|
|
|
|
# Compile yourself with patchset
|
|
`git pull https://github.com/vector-im/element-web`
|
|
|
|
`cd element-web`
|
|
|
|
`yarn install`
|
|
|
|
Copy the `patch` directory to the root of the element-web directory and run the patch after `yarn install`
|
|
|
|
`(cd node_modules/matrix-react-sdk; yarn reskindex)`
|
|
|
|
`yarn dist`
|
|
|
|
After successful compile go to the dist/ directory and unpack your compiled element-web, open the index.html and add the following line after `<link rel="stylesheet" disabled="disabled" data-mx-theme="Dark-custom" title="Dark-custom" href="bundles/992c2fdfdb70c62e3cd4/theme-dark-custom.css">`
|
|
|
|
`<link rel="stylesheet" href="custom.css">`
|
|
|
|
Should be around line ~53
|
|
|
|
# If weak male download prebuilt
|
|
See prebuilt folder for that
|
|
|
|
# Stickers
|
|
|
|
Go to any chatroom and type:
|
|
|
|
`/devtools`
|
|
|
|
Select 'Send account data'
|
|
|
|
|
|
`m.widgets`
|
|
|
|
Fill in this:
|
|
```
|
|
{
|
|
"stickerpicker": {
|
|
"content": {
|
|
"type": "m.stickerpicker",
|
|
"url": "https://matrix.f0ck.it/stickers/?theme=$theme",
|
|
"name": "Stickerpicker",
|
|
"data": {}
|
|
},
|
|
"sender": "@you:server.tld",
|
|
"state_key": "stickerpicker",
|
|
"type": "m.widget",
|
|
"id": "stickerpicker"
|
|
}
|
|
}
|
|
```
|
|
|
|
SEND
|