1
0
mirror of https://github.com/rhysd/Mstdn.git synced 2025-01-21 20:52:11 +01:00
Mstdn/renderer/index.ts

9 lines
264 B
TypeScript
Raw Normal View History

2017-04-17 18:40:55 +09:00
import {Config, Account} from '../main/config';
2017-04-16 02:27:06 +09:00
import * as Ipc from './ipc';
2017-04-20 11:47:44 +09:00
import setupKeymaps from './key_handler';
2017-04-17 18:40:55 +09:00
Ipc.on('mstdn:config', (c: Config, a: Account) => {
2017-04-20 11:47:44 +09:00
setupKeymaps(c, a);
2017-04-19 18:07:12 +09:00
document.title = `${document.title} @${a.name}@${a.host}`;
2017-04-16 04:14:58 +09:00
});