launcher: tod not installed notif action

Add install action to tod not installed notification
This commit is contained in:
2 * r + 2 * t 2025-02-16 23:11:25 +11:00
parent 30c0d0d908
commit 354c3446de

View file

@ -535,6 +535,10 @@ const Results = ({ entry, mode }: { entry: Widget.Entry; mode: Variable<Mode> })
body: "The launcher todo subcommand requires `tod`. Install it with `yay -S tod-bin`",
icon: "dialog-warning-symbolic",
urgency: "critical",
actions: {
Install: () =>
execAsync("uwsm app -T -- yay -S tod-bin").catch(console.error),
},
});
return;
}