add hotkey to navigate to home route (#1074)

This commit is contained in:
jeffvli 2025-09-06 01:01:48 -07:00
parent b00305cc86
commit 4a28e7230a
4 changed files with 9 additions and 0 deletions

View file

@ -133,6 +133,7 @@ export enum BindingActions {
GLOBAL_SEARCH = 'globalSearch',
LOCAL_SEARCH = 'localSearch',
MUTE = 'volumeMute',
NAVIGATE_HOME = 'navigateHome',
NEXT = 'next',
PAUSE = 'pause',
PLAY = 'play',
@ -426,6 +427,7 @@ const initialState: SettingsState = {
favoritePreviousToggle: { allowGlobal: true, hotkey: '', isGlobal: false },
globalSearch: { allowGlobal: false, hotkey: 'mod+k', isGlobal: false },
localSearch: { allowGlobal: false, hotkey: 'mod+f', isGlobal: false },
navigateHome: { allowGlobal: false, hotkey: '', isGlobal: false },
next: { allowGlobal: true, hotkey: '', isGlobal: false },
pause: { allowGlobal: true, hotkey: '', isGlobal: false },
play: { allowGlobal: true, hotkey: '', isGlobal: false },