1
0
Fork 0

fix element keybinding

This commit is contained in:
Malte Brandy 2022-05-21 22:23:37 +02:00
parent 1ec470cd49
commit 62b96c74d7

View file

@ -6,8 +6,10 @@ final: prev: let
in {
element-web = prev.element-web.overrideAttrs (old: {
preInstall = ''
bundle=$(find . -name 'bundle.css')
cat ${./user.css} >> $bundle
bundlecss=$(find . -name 'bundle.css')
cat ${./user.css} >> $bundlecss
bundlejs=$(find . -name 'vendors~init.js')
sed -i 's/return n.room.roomId===e||n.isUnread}/return n.room.roomId===e||n.hasUnreadCount}/' $bundlejs
cp ${chime} media/message.ogg
'';
});