feat: change and add shortcuts

This commit is contained in:
MAZE 2024-09-03 18:30:24 +03:30
parent 554309ebd8
commit a59db41dc5
3 changed files with 24 additions and 4 deletions

View file

@ -14,7 +14,7 @@ export function ShortcutsModal({ onClose, show }: ShortcutsModalProps) {
label: 'Shortcuts List', label: 'Shortcuts List',
}, },
{ {
keys: ['Shift', 'P'], keys: ['Shift', 'Alt', 'P'],
label: 'Presets', label: 'Presets',
}, },
{ {
@ -22,9 +22,29 @@ export function ShortcutsModal({ onClose, show }: ShortcutsModalProps) {
label: 'Share Sounds', label: 'Share Sounds',
}, },
{ {
keys: ['Shift', 'T'], keys: ['Shift', 'Alt', 'T'],
label: 'Sleep Timer', label: 'Sleep Timer',
}, },
{
keys: ['Shift', 'C'],
label: 'Countdown Timer',
},
{
keys: ['Shift', 'P'],
label: 'Pomodoro',
},
{
keys: ['Shift', 'N'],
label: 'Notepad',
},
{
keys: ['Shift', 'T'],
label: 'Todo Checklist',
},
{
keys: ['Shift', 'B'],
label: 'Breathing Exercise',
},
{ {
keys: ['Shift', 'Space'], keys: ['Shift', 'Space'],
label: 'Toggle Play', label: 'Toggle Play',

View file

@ -11,7 +11,7 @@ export function Presets({ open }: PresetsProps) {
<Item <Item
icon={<RiPlayListFill />} icon={<RiPlayListFill />}
label="Your Presets" label="Your Presets"
shortcut="Shift + P" shortcut="Shift + Alt + P"
onClick={open} onClick={open}
/> />
); );

View file

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