You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add "Open Buffer" as a secondary action when the default is to activate Halloy, and remove it as a secondary when it is the default (it will be displayed twice in that case, on macOS).
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Added:
8
8
- Support displaying a larger version of the card images in-app
9
9
- IRCv3 `no-implicit-names` support
10
10
- Keyboard shortcuts validation (e.g no duplicate key binds)
11
-
-`actions.buffer.notification` setting to control how interacting with notifications is handled
11
+
-`actions.buffer.notifications` settings to control how interacting with notifications is handled
12
12
-`actions.buffer.click_nickname` and `actions.nicklist.click_nickname` can be used to specify whether a nickname will: open query and how the query is opened, insert nickname in the input box, or no action (`"no-action"` or `"noop"`); takes over functionality from `buffer.nickname.click` and `buffer.channel.nicklist.click` and adds the ability to perform no action
13
13
-`actions.buffer.click_channel_name` and `actions.buffer.click_highlight` can be set to no action (`"no-action"` or `"noop"`) to not open the channel when clicking on the channel name
Action when clicking on a notification with a buffer context (e.g. when clicking a notification for a highlight in a channel, the context is the channel buffer). `"new-pane"` opens a new pane each time. `"replace-pane"` replaces the focused pane with the buffer context. `"new-window"` opens a new window each time. `"no-action"` or `"noop"` will perform no action on clicks aside from the default application activation behavior.
142
+
How notification actions should be enacted.
143
+
144
+
```toml
145
+
# Open buffer in a new window when clicking on a notification
146
+
147
+
[actions.notification]
148
+
default = "open-buffer"
149
+
open_buffer = "new-window"
150
+
```
151
+
152
+
### `default`
153
+
154
+
Default action when clicking on a notification. When set to `"activate-application"` or when there is no buffer context for the notification (e.g. when clicking a notification for a monitored user going offline), then the default application activation behavior for notification will be enacted. When there is a buffer context (e.g. when clicking a notification for a highlight in a channel, the context is the channel buffer) and set to `"open-buffer"`, then the buffer context will be opened. If there is a buffer context and `"activate-application"` is set, then `"open-buffer"` will be provided as a secondary action (if supported by the notification system). When opening a buffer, [`actions.notification.open_buffer`](#open_buffer) determines how it will be opened.
When opening a buffer from a notification, how it will be opened. `"new-pane"` opens a new pane each time. `"replace-pane"` replaces the focused pane with the buffer. `"new-window"` opens a new window each time.
0 commit comments