macos: implement notify on command finish

This commit is contained in:
Joseph Martinsen
2026-02-21 16:25:58 -06:00
committed by Mitchell Hashimoto
parent 9d6a8d0fc1
commit 3b5a7b77d3
3 changed files with 136 additions and 15 deletions

View File

@@ -1207,8 +1207,6 @@ command: ?Command = null,
/// notifications for a single command, overriding the `never` and `unfocused`
/// options.
///
/// GTK only.
///
/// Available since 1.3.0.
@"notify-on-command-finish": NotifyOnCommandFinish = .never,
@@ -1223,8 +1221,6 @@ command: ?Command = null,
/// Options can be combined by listing them as a comma separated list. Options
/// can be negated by prefixing them with `no-`. For example `no-bell,notify`.
///
/// GTK only.
///
/// Available since 1.3.0.
@"notify-on-command-finish-action": NotifyOnCommandFinishAction = .{
.bell = true,
@@ -1262,8 +1258,6 @@ command: ?Command = null,
/// The maximum value is `584y 49w 23h 34m 33s 709ms 551µs 615ns`. Any
/// value larger than this will be clamped to the maximum value.
///
/// GTK only.
///
/// Available since 1.3.0
@"notify-on-command-finish-after": Duration = .{ .duration = 5 * std.time.ns_per_s },