diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-03-01 16:46:24 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-03-01 16:46:24 +1100 |
| commit | 418f057482464f4102d601d9394b5ae15f6a4b9d (patch) | |
| tree | d8b09d7c755a713271296127ea017a2daf83b6bd /src | |
| parent | launcher: actions + refactor into multi file (diff) | |
| download | caelestia-shell-418f057482464f4102d601d9394b5ae15f6a4b9d.tar.gz caelestia-shell-418f057482464f4102d601d9394b5ae15f6a4b9d.tar.bz2 caelestia-shell-418f057482464f4102d601d9394b5ae15f6a4b9d.zip | |
launcher: fix scheme and todo actions
Fix the autocomplete
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/launcher/actions.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/launcher/actions.tsx b/src/modules/launcher/actions.tsx index de9f454..52910ea 100644 --- a/src/modules/launcher/actions.tsx +++ b/src/modules/launcher/actions.tsx @@ -63,7 +63,7 @@ const actions = (mode: Variable<Mode>, entry: Widget.Entry): ActionMap => ({ action: (...args) => { // If no args, autocomplete cmd if (args.length === 0) { - entry.set_text(">scheme "); + entry.set_text(`${config.actionPrefix.get()}scheme `); entry.set_position(-1); return; } @@ -79,7 +79,7 @@ const actions = (mode: Variable<Mode>, entry: Widget.Entry): ActionMap => ({ action: (...args) => { // If no args, autocomplete cmd if (args.length === 0) { - entry.set_text(">todo "); + entry.set_text(`${config.actionPrefix.get()}todo `); entry.set_position(-1); return; } @@ -195,7 +195,6 @@ export default class Actions extends Widget.Box implements LauncherContent { } handleActivate(): void { - this.#content.get_child_at_index(0)?.get_child()?.grab_focus(); this.#content.get_child_at_index(0)?.get_child()?.activate(); } } |