forked from grahamking/hatcog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.hatcogrc
79 lines (65 loc) · 2.64 KB
/
.hatcogrc
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# hatcog configuration file
#
# Lines starting with # are comments.
# Don't use ~ to mean your home directory, use the full path.
### Connection details ###
# The format is:
# network_name = host:port,username,password,Your Name
# Where:
#
# network_name -> Whatever you want to call that network. It's just for you.
#
# address -> IRC server, port, and optional password to connect to.
# Example: irc.example.com:6667
# Example: irc.mycompany.net:6697:serverpass
# The Format is anything Go's net.Dial understands: http://golang.org/pkg/net/#Dial.
# followed by an option server password (PASS command).
# You must always include a port.
# hatcogd will try connecting using SSL/TLS, and fall back to clear text
#
# nick -> Nickname to use on that network
#
# password -> To identify with NickServ.
# If you wrap the password in $( and ), we run it and the output is your password
# If you are not registered with NickServ, leave the password blank
#
# You Name -> Name to use on that network.
#
# Freenode, over TLS. Password in gpg encrypted file.
freenode = chat.freenode.net:6697,hatcog_user,$(gpg -d pw_file.asc),Hatcog User
# OFTC, over TLS.
oftc = irc.oftc.net:6697,hatcog_user,$(gpg -d pw_file.asc),Hatcog User
# Mozilla. No password, nick not registered.
mozilla = irc.mozilla.org:6697,hatcog_user,,Hatcog User
# Local unsecured. Cleartext password.
local = 127.0.0.1:6667,hatcog_user,plain0lPass,Hatcog User
# With a server password, no NickServ
mycompany = irc.example.com:6697:s3rverp@ss,corp_user,,Corp User
### daemon_host ###
# Address hatcogd binds to. Must be on local machine.
# Default: 127.0.0.1
#daemon_host = "127.0.0.1"
### daemon_port ###
# Port hatcogd listens on for hjoin connections.
# Default: 8790
#daemon_port = "8790"
### cmd_notify ###
# Command to run to display a notification.
# This gets given two parameters: The title and the body of the notification.
# e.g. if cmd_notify is "/home/bob/bin/sayIt", this gets called:
# /home/bob/bin/sayIt Message "Some text here"
cmd_notify = "/usr/bin/notify-send"
# just make a beep
#cmd_notify = "/usr/bin/aplay -q /home/bob/sounds/beep.wav"
### cmd_private_chat ###
# Command to open a private chat window, when someone /query or /msg you
# This get given the command "hjoin -private=<nick_talking>" as last param
# Open a gnome-terminal
#cmd_private_chat = "/usr/bin/gnome-terminal -e"
# Split your current tmux window
cmd_private_chat = "/usr/bin/tmux split-window -v -p 50"
## cmd_url ###
# Command to display a url. URL is appended to this command.
# e.g. If cmd is "/bin/browser" this gets called:
# /bin/browser http://example.com
cmd_url = "/usr/bin/sensible-browser"