element-modifications/README.md

64 lines
1.6 KiB
Markdown
Raw Normal View History

2021-03-24 11:12:11 +00:00
# Element Web Modifications
For version [f0ck.it version: 1.9.0-19](https://github.com/vector-im/element-web)
2021-03-24 11:12:11 +00:00
2021-08-12 11:25:26 +00:00
![Element Showcase](https://gitfap.de/noxy/element-modifications/-/raw/master/img/2021-08-12_13-24.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)
2021-03-28 21:32:14 +00:00
- custom.css with some quality of life enhancements like smaller images/videos
2021-05-19 17:15:57 +00:00
- Atmos default theme
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
2021-05-19 17:23:52 +00:00
`(cd node_modules/matrix-react-sdk; yarn reskindex)`
2021-05-19 17:24:14 +00:00
2021-05-19 17:23:52 +00:00
`yarn dist`
2021-08-06 07:34:28 +00:00
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
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