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
Copy file name to clipboardExpand all lines: README.md
+16-4Lines changed: 16 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -173,11 +173,25 @@ The mouse support also has been programmed. You can scroll the chatbox and the s
173
173
"emoji": true,
174
174
"markdown": true,
175
175
"pictures": true,
176
-
"browser": ""
176
+
"browser": "",
177
+
"notification": ""
177
178
}
178
179
}
179
180
```
180
-
*`browser`: Config your preferable browser to open the link, when ever you focus on chat box text which contains external link (http/https), press enter key, the link will be opened. Valid [value](https://docs.python.org/2/library/webbrowser.html#webbrowser.get). Example you can config `"browser": "chrome"`
181
+
*`browser`: Config your preferable browser to open the link, when ever you focus on chat box text which contains external link (http/https), press enter key, the link will be opened. Valid [value](https://docs.python.org/2/library/webbrowser.html#webbrowser.get). Example you can config `"browser": "chrome"`
182
+
*`notification`: How do you want to receive notification. `all` receive all; `none` disable notification, `mentioned` Only mentioned and direct message
183
+
184
+
#### Notification
185
+
186
+
Supported:
187
+
* Linux
188
+
* Macos >= 10.10 use [terminal-notifier](https://github.com/julienXX/terminal-notifier), you can install your custom terminal-notifier or using default binary in pync package
189
+
190
+
To test your notification availability, trigger below command, if you can see notification you can use this feature
191
+
192
+
```bash
193
+
python sclack/notification.py
194
+
```
181
195
182
196
## Tested Terminals
183
197
@@ -219,7 +233,5 @@ Contributions are very welcome, and there is a lot of work to do! You can...
219
233

220
234

221
235

222
-

223
-

224
236
225
237
<palign="center">Made with :rage: by <ahref="https://github.com/haskellcamargo">@haskellcamargo</a></p>
0 commit comments