mirror of https://tildegit.org/ben/dotfiles
update weechat autojoins
parent
1b0443ec4d
commit
c602ed4c3b
|
@ -190,7 +190,7 @@ tilde.local_hostname
|
|||
tilde.usermode
|
||||
tilde.command = "/msg operserv login ${sec.data.pass}"
|
||||
tilde.command_delay
|
||||
tilde.autojoin = "##ekbots,#.tilde,#ZfA,#anelki,#aussie,#bots,#club,#cosmic,#counting,#counting-meta,#covid19,#ctrl-c,#envs,#envs_german,#espanol,#factorio,#fr,#gemini,#gopher,#helpdesk,#idlerpg,#institute,#irctokens,#linux,#meta,#meta_german,#minecraft,#mops,#music,#netnews,#ninja,#nsfw,#opers,#pink,#politics,#prepping,#projects,#red,#secret-sudoers,#sus,#team,#texto-plano,#theasylum,#thunix,#tilde.zone-admin,#tildebot,#tilderadio,#tilderadio-djs,#tildetel,#tildeverse,#vim,#zine"
|
||||
tilde.autojoin = "##ekbots,#.tilde,#ZfA,#anelki,#aussie,#bots,#club,#cosmic,#counting,#counting-meta,#covid19,#ctrl-c,#envs,#envs_german,#espanol,#factorio,#fr,#gemini,#gopher,#helpdesk,#institute,#irctokens,#linux,#meta,#meta_german,#minecraft,#music,#netnews,#ninja,#nsfw,#opers,#pink,#politics,#prepping,#projects,#red,#secret-sudoers,#southlondon,#sus,#team,#theasylum,#thunix,#tilde.zone-admin,#tildebot,#tilderadio,#tilderadio-djs,#tildetel,#tildeverse,#vim,#zine"
|
||||
tilde.autorejoin
|
||||
tilde.autorejoin_delay
|
||||
tilde.connection_timeout
|
||||
|
@ -278,7 +278,7 @@ town.local_hostname
|
|||
town.usermode
|
||||
town.command
|
||||
town.command_delay
|
||||
town.autojoin = "#admins,#announcements,#bots,#counting,#counting-meta,#politics,#tildetown"
|
||||
town.autojoin = "#announcements,#bots,#counting,#counting-meta,#politics,#tildetown"
|
||||
town.autorejoin
|
||||
town.autorejoin_delay
|
||||
town.connection_timeout
|
||||
|
@ -366,7 +366,7 @@ sdf.local_hostname
|
|||
sdf.usermode
|
||||
sdf.command
|
||||
sdf.command_delay
|
||||
sdf.autojoin = "#sdf,#spanish"
|
||||
sdf.autojoin = "#sdf"
|
||||
sdf.autorejoin
|
||||
sdf.autorejoin_delay
|
||||
sdf.connection_timeout
|
||||
|
@ -454,7 +454,7 @@ oftc.local_hostname
|
|||
oftc.usermode
|
||||
oftc.command
|
||||
oftc.command_delay
|
||||
oftc.autojoin = "#debian-devel,#fish"
|
||||
oftc.autojoin = "#bitlbee,#debian-devel,#fish"
|
||||
oftc.autorejoin
|
||||
oftc.autorejoin_delay
|
||||
oftc.connection_timeout
|
||||
|
@ -498,7 +498,7 @@ freenode.local_hostname
|
|||
freenode.usermode
|
||||
freenode.command
|
||||
freenode.command_delay
|
||||
freenode.autojoin = "##crustaceans,##irctokens,##ircv3-chat,##jan6,##oodnet,#among-sus,#ascii.town,#bitbot,#borgmatic,#byobu,#cmpwn,#composer,#fosshost,#fosshost-dev,#fosshost-volunteers,#gophernicus,#lobsters,#mastodon,#oragono,#ovh,#pleroma,#sr.ht,#tilde.team,#weechat,#weechat-android"
|
||||
freenode.autojoin = "##crustaceans,##irctokens,##ircv3-chat,##jan6,##oodnet,##proxmox,##sqlite,#among-sus,#ascii.town,#bitbot,#byobu,#cmpwn,#composer,#curl,#fosshost,#fosshost-volunteers,#gitea,#gophernicus,#hetzner,#lobsters,#mastodon,#oragono,#ovh,#sr.ht,#tilde.team,#weechat,#weechat-android"
|
||||
freenode.autorejoin
|
||||
freenode.autorejoin_delay
|
||||
freenode.connection_timeout
|
||||
|
@ -674,7 +674,7 @@ bitlbee.local_hostname
|
|||
bitlbee.usermode
|
||||
bitlbee.command
|
||||
bitlbee.command_delay
|
||||
bitlbee.autojoin = "#biboumi,#cifuzofu,#conversations,#darwin,#ejabberd,#gajim,#harris,#joinjabber,#joinjabber-sysadmin,#lobby,#meeting,#movim,#openhardware,#operators,#tilde.team,#xsf,&SMS,&bitlbee,&hmm,&tilde"
|
||||
bitlbee.autojoin = "#biboumi,#cifuzofu,#darwin,#ejabberd,#gajim,#gritty,#harris,#hbsc,#joinjabber,#joinjabber-sysadmin,#lobby,#lounge,#meeting,#movim,#openhardware,#soprani.ca,#texto-plano,#tilde.team,&SMS,&bitlbee,&hmm,&tilde"
|
||||
bitlbee.autorejoin
|
||||
bitlbee.autorejoin_delay
|
||||
bitlbee.connection_timeout
|
||||
|
@ -821,47 +821,3 @@ pc.notify
|
|||
pc.split_msg_max_length
|
||||
pc.charset_message
|
||||
pc.default_chantypes
|
||||
freetest.addresses = "niven.freenode.net/9003"
|
||||
freetest.proxy
|
||||
freetest.ipv6
|
||||
freetest.ssl = on
|
||||
freetest.ssl_cert
|
||||
freetest.ssl_password
|
||||
freetest.ssl_priorities
|
||||
freetest.ssl_dhkey_size
|
||||
freetest.ssl_fingerprint
|
||||
freetest.ssl_verify
|
||||
freetest.password
|
||||
freetest.capabilities
|
||||
freetest.sasl_mechanism
|
||||
freetest.sasl_username
|
||||
freetest.sasl_password
|
||||
freetest.sasl_key
|
||||
freetest.sasl_timeout
|
||||
freetest.sasl_fail
|
||||
freetest.autoconnect
|
||||
freetest.autoreconnect
|
||||
freetest.autoreconnect_delay
|
||||
freetest.nicks
|
||||
freetest.nicks_alternate
|
||||
freetest.username
|
||||
freetest.realname
|
||||
freetest.local_hostname
|
||||
freetest.usermode
|
||||
freetest.command
|
||||
freetest.command_delay
|
||||
freetest.autojoin = "##jess,#freenode"
|
||||
freetest.autorejoin
|
||||
freetest.autorejoin_delay
|
||||
freetest.connection_timeout
|
||||
freetest.anti_flood_prio_high
|
||||
freetest.anti_flood_prio_low
|
||||
freetest.away_check
|
||||
freetest.away_check_max_nicks
|
||||
freetest.msg_kick
|
||||
freetest.msg_part
|
||||
freetest.msg_quit
|
||||
freetest.notify
|
||||
freetest.split_msg_max_length
|
||||
freetest.charset_message
|
||||
freetest.default_chantypes
|
||||
|
|
|
@ -1,57 +0,0 @@
|
|||
# This weechat plugin pipes the current weechat buffer through urlview
|
||||
#
|
||||
# Usage:
|
||||
# /urlview
|
||||
#
|
||||
# History:
|
||||
# 10-04-2015
|
||||
# Version 1.0.0: initial release
|
||||
# Version 1.0.1: reverse text passed to urlview
|
||||
# Version 1.0.2: remove weechat color from messages
|
||||
|
||||
import distutils.spawn
|
||||
import os
|
||||
import pipes
|
||||
import weechat
|
||||
|
||||
|
||||
def urlview(data, buf, args):
|
||||
infolist = weechat.infolist_get("buffer_lines", buf, "")
|
||||
lines = []
|
||||
while weechat.infolist_next(infolist) == 1:
|
||||
lines.append(
|
||||
weechat.string_remove_color(
|
||||
weechat.infolist_string(infolist, "message"),
|
||||
""
|
||||
)
|
||||
)
|
||||
|
||||
weechat.infolist_free(infolist)
|
||||
|
||||
if not lines:
|
||||
weechat.prnt(buf, "No URLs found")
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
text = "\n".join(reversed(lines))
|
||||
response = os.system("echo %s | urlview" % pipes.quote(text))
|
||||
if response != 0:
|
||||
weechat.prnt(buf, "No URLs found")
|
||||
|
||||
weechat.command(buf, "/window refresh")
|
||||
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
|
||||
def main():
|
||||
if distutils.spawn.find_executable("urlview") is None:
|
||||
return weechat.WEECHAT_RC_ERROR
|
||||
|
||||
if not weechat.register("urlview", "Keith Smiley", "1.0.2", "MIT",
|
||||
"Use urlview on the current buffer", "", ""):
|
||||
return weechat.WEECHAT_RC_ERROR
|
||||
|
||||
weechat.hook_command("urlview", "Pass the current buffer to urlview", "",
|
||||
"", "", "urlview", "")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Loading…
Reference in New Issue