launcher: tod not installed notif action
Add install action to tod not installed notification
This commit is contained in:
parent
30c0d0d908
commit
354c3446de
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue