feat: change shortcuts

This commit is contained in:
MAZE 2024-08-31 20:41:22 +03:30
parent 105f53ea02
commit 4f45279938
2 changed files with 3 additions and 8 deletions

View file

@ -15,7 +15,7 @@ export function SleepTimer({ open }: SleepTimerProps) {
active={active}
icon={<IoMoonSharp />}
label="Sleep Timer"
shortcut="Shift + Alt + T"
shortcut="Shift + T"
onClick={open}
/>
);

View file

@ -64,15 +64,10 @@ export function Menu() {
);
useHotkeys('shift+m', () => setIsOpen(prev => !prev));
useHotkeys('shift+alt+p', () => open('presets'));
useHotkeys('shift+p', () => open('presets'));
useHotkeys('shift+h', () => open('shortcuts'));
useHotkeys('shift+b', () => open('breathing'));
useHotkeys('shift+n', () => open('notepad'));
useHotkeys('shift+p', () => open('pomodoro'));
useHotkeys('shift+t', () => open('todo'));
useHotkeys('shift+c', () => open('countdown'));
useHotkeys('shift+s', () => open('shareLink'), { enabled: !noSelected });
useHotkeys('shift+alt+t', () => open('sleepTimer'));
useHotkeys('shift+t', () => open('sleepTimer'));
useCloseListener(closeAll);