-
Notifications
You must be signed in to change notification settings - Fork 4
/
twitchnotifier.cfg
37 lines (35 loc) · 1 KB
/
twitchnotifier.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
; Available keys for usage:
; $1 = channel name
; $2 = 'online' if stream is online, 'offline' is stream is offline
; ${foo} = replace as if strftime is applied on foo
; ***NOTE***: The following will only work in entries without "_off" suffix
; $3 = game name
; $4 = number of viewers
; $5 = status (sometimes doesn't exist)
; $6 = language
; $7 = average fps
; $8 = followers
; $9 = views
[messages]
; When the target is online
; And when -u mode is used
user_message=$1 is $2 playing $3 ($4)
; And when -c mode is used
notification_title=$1 is $2
; And when -c mode is used
notification_content=$3 / $4
; And when -c --online mode is used
list_entry=$1:$3:$4
; And when -l mode is used
log_fmt=$1 -> $2 (${%H:%M})
; When the target is offline
; And when -c --offline mode is used
list_entry_off=$1
; And when -u mode is used
user_message_off=$1 is $2
; And when -c mode is used
notification_title_off=$1
; And when -c mode is used
notification_content_off=is $2
; And when -l mode is used
log_fmt_off=$1 -> $2 (${%H:%M})