@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
12 lines (9 loc) • 403 B
text/typescript
import { DEFAULT_DESKTOP_HOTKEY_CONFIG } from '@/const/desktop';
import { ElectronState } from '@/store/electron/initialState';
import { merge } from '@/utils/merge';
const hotkeys = (s: ElectronState) => merge(DEFAULT_DESKTOP_HOTKEY_CONFIG, s.desktopHotkeys);
const isHotkeysInit = (s: ElectronState) => s.isDesktopHotkeysInit;
export const desktopHotkeysSelectors = {
hotkeys,
isHotkeysInit,
};