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',
},
{
keys: ['Shift', 'P'],
keys: ['Shift', 'Alt', 'P'],
label: 'Presets',
},
{
@ -22,9 +22,29 @@ export function ShortcutsModal({ onClose, show }: ShortcutsModalProps) {
label: 'Share Sounds',
},
{
keys: ['Shift', 'T'],
keys: ['Shift', 'Alt', 'T'],
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'],
label: 'Toggle Play',

View file

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

View file

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