diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-16 23:11:25 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-16 23:11:25 +1100 |
| commit | 354c3446deec65e12bbe2b843db32e3d7adb10e3 (patch) | |
| tree | 2d04700e9851485da5cd52697fef54c726e3ffa6 /src/modules/launcher.tsx | |
| parent | bar: fix null pointer error (diff) | |
| download | caelestia-shell-354c3446deec65e12bbe2b843db32e3d7adb10e3.tar.gz caelestia-shell-354c3446deec65e12bbe2b843db32e3d7adb10e3.tar.bz2 caelestia-shell-354c3446deec65e12bbe2b843db32e3d7adb10e3.zip | |
launcher: tod not installed notif action
Add install action to tod not installed notification
Diffstat (limited to 'src/modules/launcher.tsx')
| -rw-r--r-- | src/modules/launcher.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/launcher.tsx b/src/modules/launcher.tsx index 5462067..5adc86e 100644 --- a/src/modules/launcher.tsx +++ b/src/modules/launcher.tsx @@ -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; } |