diff --git a/core b/core index 75aaf31e5..0c2318c79 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 75aaf31e55d30fe8bf48c57d7b29d21a71a93b32 +Subproject commit 0c2318c7950d456f362d669d0879511cb84bdf1e diff --git a/public/json/personal_tekezo_launcher_mode_v4.json b/public/json/personal_tekezo_launcher_mode_v4.json index 25845112b..e17abae28 100644 --- a/public/json/personal_tekezo_launcher_mode_v4.json +++ b/public/json/personal_tekezo_launcher_mode_v4.json @@ -5,7 +5,7 @@ ], "rules": [ { - "description": "Launcher Mode v4 (rev 25)", + "description": "Launcher Mode v4 (rev 26)", "available_since": "15.3.4", "manipulators": [ { @@ -22,7 +22,7 @@ { "software_function": { "open_application": { - "history_index": 1 + "frontmost_application_history_index": 1 } } } @@ -74,7 +74,7 @@ { "software_function": { "open_application": { - "history_index": 1 + "frontmost_application_history_index": 1 } } } @@ -98,7 +98,7 @@ { "software_function": { "open_application": { - "history_index": 2 + "frontmost_application_history_index": 2 } } } @@ -150,7 +150,7 @@ { "software_function": { "open_application": { - "history_index": 2 + "frontmost_application_history_index": 2 } } } @@ -174,7 +174,7 @@ { "software_function": { "open_application": { - "history_index": 3 + "frontmost_application_history_index": 3 } } } @@ -226,7 +226,7 @@ { "software_function": { "open_application": { - "history_index": 3 + "frontmost_application_history_index": 3 } } } @@ -250,7 +250,7 @@ { "software_function": { "open_application": { - "history_index": 4 + "frontmost_application_history_index": 4 } } } @@ -302,7 +302,7 @@ { "software_function": { "open_application": { - "history_index": 4 + "frontmost_application_history_index": 4 } } } @@ -326,7 +326,7 @@ { "software_function": { "open_application": { - "history_index": 5 + "frontmost_application_history_index": 5 } } } @@ -378,7 +378,7 @@ { "software_function": { "open_application": { - "history_index": 5 + "frontmost_application_history_index": 5 } } } diff --git a/src/json/personal_tekezo_launcher_mode_v4.json.js b/src/json/personal_tekezo_launcher_mode_v4.json.js index 57d1db9c3..31d0feafd 100755 --- a/src/json/personal_tekezo_launcher_mode_v4.json.js +++ b/src/json/personal_tekezo_launcher_mode_v4.json.js @@ -13,14 +13,14 @@ function main() { maintainers: ['tekezo'], rules: [ { - description: 'Launcher Mode v4 (rev 25)', + description: 'Launcher Mode v4 (rev 26)', available_since: '15.3.4', manipulators: [].concat( - generateLauncherMode('1', { historyIndex: 1 }), - generateLauncherMode('2', { historyIndex: 2 }), - generateLauncherMode('3', { historyIndex: 3 }), - generateLauncherMode('4', { historyIndex: 4 }), - generateLauncherMode('5', { historyIndex: 5 }), + generateLauncherMode('1', { frontmostApplicationHistoryIndex: 1 }), + generateLauncherMode('2', { frontmostApplicationHistoryIndex: 2 }), + generateLauncherMode('3', { frontmostApplicationHistoryIndex: 3 }), + generateLauncherMode('4', { frontmostApplicationHistoryIndex: 4 }), + generateLauncherMode('5', { frontmostApplicationHistoryIndex: 5 }), generateLauncherMode('a', { bundleIdentifier: 'com.apple.ActivityMonitor' }), generateLauncherMode('c', { bundleIdentifier: 'com.google.Chrome' }), generateLauncherMode('e', { bundleIdentifier: 'com.microsoft.VSCode' }), @@ -49,7 +49,7 @@ function generateLauncherMode( /** * @type {{ * bundleIdentifier?: string, - * historyIndex?: number, + * frontmostApplicationHistoryIndex?: number, * to?: any[], * }} */ options @@ -66,11 +66,11 @@ function generateLauncherMode( }, }) } - if (options.historyIndex !== undefined) { + if (options.frontmostApplicationHistoryIndex !== undefined) { to.push({ software_function: { open_application: { - history_index: options.historyIndex, + frontmost_application_history_index: options.frontmostApplicationHistoryIndex, }, }, })