feat(ags launcher): add executable to search selector
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-01-10 20:10:14 -05:00
parent c5422e018e
commit 010d5e38a8

View file

@ -14,7 +14,7 @@ import AppItem from './app-item.js';
*/
const Applauncher = ({ window_name = 'applauncher' } = {}) => {
const Applauncher = (window_name = 'applauncher') => {
/** @type Array<any> */
let fzfResults;
const list = ListBox({});
@ -22,7 +22,9 @@ const Applauncher = ({ window_name = 'applauncher' } = {}) => {
/** @param {String} text */
const setSort = (text) => {
const fzf = new Fzf(Applications.list, {
selector: /** @param {App} app */ (app) => app.name,
selector: /** @param {App} app */ (app) => {
return app.name + app.executable;
},
tiebreakers: [
/**
* @param {App} a