element-modifications/README.md
2021-12-24 16:33:01 +01:00

61 lines
1.4 KiB
Markdown

# Element Web Modifications
For version [f0ck.it 1.9.8](https://github.com/vector-im/element-web) (Develop Branch)
![Element Showcase](https://git.lat/schrumpel/element-modifications/raw/branch/master/img/2021-12-24_16-30.png "Element Showcase")
Running at https://chat.f0ck.it
- glowers patchset (greentexting)
- Quality of Life css enhancements
# 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`
After successful `yarn install` copy the _QoLEhancements.scc file to `$element-web-path/node_modules/matrix-react-sdk/res/css/structures/` then go back one folder and run rethemendex.sh to regenerate the components file.
Continue like normal...
`(cd node_modules/matrix-react-sdk; yarn reskindex)`
`yarn dist`
# 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