element-modifications/README.md
2021-12-18 23:41:02 +01:00

1.5 KiB

Element Web Modifications

For version f0ck.it 1.9.7 (Master Branch)

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

git checkout master

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