element-modifications/README.md

61 lines
1.5 KiB
Markdown
Raw Normal View History

2021-03-24 11:12:11 +00:00
# Element Web Modifications
2021-12-17 18:05:51 +00:00
For version [f0ck.it version: 1.9.7](https://github.com/vector-im/element-web) (Develop Branch)
2021-03-24 11:12:11 +00:00
2021-12-11 10:28:28 +00:00
![Element Showcase](https://git.lat/schrumpel/element-modifications/raw/branch/master/img/Screenshot%202021-12-11%20at%2011-27-02%20f0ck%20it%20showcase.png "Element Showcase")
2021-05-19 17:37:57 +00:00
2021-05-19 17:15:57 +00:00
Running at https://chat.f0ck.it
2021-03-28 21:32:14 +00:00
2021-05-19 17:15:57 +00:00
- glowers patchset (greentexting)
- Quality of Life css enhancements
2021-03-28 21:27:01 +00:00
2021-05-19 17:23:52 +00:00
# Compile yourself with patchset
`git pull https://github.com/vector-im/element-web`
2021-05-19 17:24:14 +00:00
2021-05-19 17:24:58 +00:00
`cd element-web`
2021-05-19 17:23:52 +00:00
`yarn install`
2021-05-19 17:24:14 +00:00
2021-08-05 17:53:53 +00:00
Copy the `patch` directory to the root of the element-web directory and run the patch after `yarn install`
2021-05-19 17:24:14 +00:00
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.
2021-05-19 17:23:52 +00:00
Continue like normal...
2021-08-06 07:34:28 +00:00
`(cd node_modules/matrix-react-sdk; yarn reskindex)`
2021-08-06 07:34:28 +00:00
`yarn dist`
2021-08-06 07:34:28 +00:00
2021-07-03 04:05:04 +00:00
# If weak male download prebuilt
See prebuilt folder for that
2021-05-19 17:25:42 +00:00
# Stickers
2021-03-28 21:32:45 +00:00
2021-07-03 04:05:04 +00:00
Go to any chatroom and type:
2021-03-28 21:27:01 +00:00
`/devtools`
Select 'Send account data'
`m.widgets`
Fill in this:
```
{
"stickerpicker": {
"content": {
"type": "m.stickerpicker",
2021-08-06 07:34:28 +00:00
"url": "https://matrix.f0ck.it/stickers/?theme=$theme",
2021-03-28 21:27:01 +00:00
"name": "Stickerpicker",
"data": {}
},
"sender": "@you:server.tld",
"state_key": "stickerpicker",
"type": "m.widget",
"id": "stickerpicker"
}
}
```
SEND