aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-08-06 16:12:15 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-08-06 16:43:59 +0200
commit50057d5149dda340b3b47aca4096f4a6ec66b9ee (patch)
tree79323d20b17c2c8e32942a1ac9b84d9da3041c6d /plugins
parent1f64710e795b0c5434d15813d4f1f568467ca087 (diff)
downloadxK-50057d5149dda340b3b47aca4096f4a6ec66b9ee.tar.gz
xK-50057d5149dda340b3b47aca4096f4a6ec66b9ee.tar.xz
xK-50057d5149dda340b3b47aca4096f4a6ec66b9ee.zip
Come up with sillier names for the binaries
I'm not entirely sure, but it looks like some people might not like jokes about the Holocaust. On a more serious note, the project has become more serious over the 7 or so years of its existence.
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/xB/calc (renamed from plugins/zyklonb/calc)2
-rwxr-xr-xplugins/xB/coin (renamed from plugins/zyklonb/coin)2
-rwxr-xr-xplugins/xB/eval (renamed from plugins/zyklonb/eval)2
-rwxr-xr-xplugins/xB/factoids (renamed from plugins/zyklonb/factoids)2
-rwxr-xr-xplugins/xB/pomodoro (renamed from plugins/zyklonb/pomodoro)2
-rwxr-xr-xplugins/xB/script (renamed from plugins/zyklonb/script)2
-rwxr-xr-xplugins/xB/seen (renamed from plugins/zyklonb/seen)2
-rwxr-xr-xplugins/xB/seen-import-xC.pl (renamed from plugins/zyklonb/seen-import-degesch.pl)4
-rwxr-xr-xplugins/xB/youtube (renamed from plugins/zyklonb/youtube)2
-rw-r--r--plugins/xC/auto-rejoin.lua (renamed from plugins/degesch/auto-rejoin.lua)8
-rw-r--r--plugins/xC/censor.lua (renamed from plugins/degesch/censor.lua)6
-rw-r--r--plugins/xC/fancy-prompt.lua (renamed from plugins/degesch/fancy-prompt.lua)8
-rw-r--r--plugins/xC/last-fm.lua (renamed from plugins/degesch/last-fm.lua)6
-rw-r--r--plugins/xC/ping-timeout.lua (renamed from plugins/degesch/ping-timeout.lua)4
-rw-r--r--plugins/xC/prime.lua (renamed from plugins/degesch/prime.lua)4
-rw-r--r--plugins/xC/slack.lua (renamed from plugins/degesch/slack.lua)16
-rw-r--r--plugins/xC/thin-cursor.lua (renamed from plugins/degesch/thin-cursor.lua)0
-rw-r--r--plugins/xC/utm-filter.lua (renamed from plugins/degesch/utm-filter.lua)4
18 files changed, 38 insertions, 38 deletions
diff --git a/plugins/zyklonb/calc b/plugins/xB/calc
index 8e36357..e67244b 100755
--- a/plugins/zyklonb/calc
+++ b/plugins/xB/calc
@@ -1,6 +1,6 @@
#!/usr/bin/env guile
- ZyklonB calc plugin, basic Scheme evaluator
+ xB calc plugin, basic Scheme evaluator
Copyright 2016 Přemysl Eric Janouch
See the file LICENSE for licensing information.
diff --git a/plugins/zyklonb/coin b/plugins/xB/coin
index 7dfe923..14cabb5 100755
--- a/plugins/zyklonb/coin
+++ b/plugins/xB/coin
@@ -1,6 +1,6 @@
#!/usr/bin/env tclsh
#
-# ZyklonB coin plugin, random number-based utilities
+# xB coin plugin, random number-based utilities
#
# Copyright 2012, 2014 Přemysl Eric Janouch
# See the file LICENSE for licensing information.
diff --git a/plugins/zyklonb/eval b/plugins/xB/eval
index ccc7f0a..24e4050 100755
--- a/plugins/zyklonb/eval
+++ b/plugins/xB/eval
@@ -1,6 +1,6 @@
#!/usr/bin/awk -f
#
-# ZyklonB eval plugin, LISP-like expression evaluator
+# xB eval plugin, LISP-like expression evaluator
#
# Copyright 2013, 2014 Přemysl Eric Janouch
# See the file LICENSE for licensing information.
diff --git a/plugins/zyklonb/factoids b/plugins/xB/factoids
index 431600c..9e9a7b4 100755
--- a/plugins/zyklonb/factoids
+++ b/plugins/xB/factoids
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
#
-# ZyklonB factoids plugin
+# xB factoids plugin
#
# Copyright 2016 Přemysl Eric Janouch <p@janouch.name>
# See the file LICENSE for licensing information.
diff --git a/plugins/zyklonb/pomodoro b/plugins/xB/pomodoro
index 2bb6531..08b87cb 100755
--- a/plugins/zyklonb/pomodoro
+++ b/plugins/xB/pomodoro
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
# coding: utf-8
#
-# ZyklonB pomodoro plugin
+# xB pomodoro plugin
#
# Copyright 2015 Přemysl Eric Janouch
# See the file LICENSE for licensing information.
diff --git a/plugins/zyklonb/script b/plugins/xB/script
index c19b8c5..948e7e5 100755
--- a/plugins/zyklonb/script
+++ b/plugins/xB/script
@@ -1,6 +1,6 @@
#!/usr/bin/tcc -run -lm
//
-// ZyklonB scripting plugin, using a custom stack-based language
+// xB scripting plugin, using a custom stack-based language
//
// Copyright 2014 Přemysl Eric Janouch
// See the file LICENSE for licensing information.
diff --git a/plugins/zyklonb/seen b/plugins/xB/seen
index 8fc9c82..da20972 100755
--- a/plugins/zyklonb/seen
+++ b/plugins/xB/seen
@@ -1,6 +1,6 @@
#!/usr/bin/env lua
--
--- ZyklonB seen plugin
+-- xB seen plugin
--
-- Copyright 2016 Přemysl Eric Janouch <p@janouch.name>
-- See the file LICENSE for licensing information.
diff --git a/plugins/zyklonb/seen-import-degesch.pl b/plugins/xB/seen-import-xC.pl
index ddef6be..db706a0 100755
--- a/plugins/zyklonb/seen-import-degesch.pl
+++ b/plugins/xB/seen-import-xC.pl
@@ -1,7 +1,7 @@
#!/usr/bin/env perl
-# Creates a database for the "seen" plugin from logs for degesch.
+# Creates a database for the "seen" plugin from logs for xC.
# The results may not be completely accurate but are good for jumpstarting.
-# Usage: ./seen-import-degesch.pl LOG-FILE... > seen.db
+# Usage: ./seen-import-xC.pl LOG-FILE... > seen.db
use strict;
use warnings;
diff --git a/plugins/zyklonb/youtube b/plugins/xB/youtube
index 53b86d8..0bf0c1e 100755
--- a/plugins/zyklonb/youtube
+++ b/plugins/xB/youtube
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# ZyklonB YouTube plugin, displaying info about YouTube links
+# xB YouTube plugin, displaying info about YouTube links
#
# Copyright 2014 - 2015, Přemysl Eric Janouch <p@janouch.name>
# See the file LICENSE for licensing information.
diff --git a/plugins/degesch/auto-rejoin.lua b/plugins/xC/auto-rejoin.lua
index ce82213..f42fb2e 100644
--- a/plugins/degesch/auto-rejoin.lua
+++ b/plugins/xC/auto-rejoin.lua
@@ -16,7 +16,7 @@
--
local timeout
-degesch.setup_config {
+xC.setup_config {
timeout = {
type = "integer",
comment = "auto rejoin timeout",
@@ -31,9 +31,9 @@ degesch.setup_config {
},
}
-async, await = degesch.async, coroutine.yield
-degesch.hook_irc (function (hook, server, line)
- local msg = degesch.parse (line)
+async, await = xC.async, coroutine.yield
+xC.hook_irc (function (hook, server, line)
+ local msg = xC.parse (line)
if msg.command ~= "KICK" then return line end
local who = msg.prefix:match ("^[^!]*")
diff --git a/plugins/degesch/censor.lua b/plugins/xC/censor.lua
index cb76c23..49cab5b 100644
--- a/plugins/degesch/censor.lua
+++ b/plugins/xC/censor.lua
@@ -39,7 +39,7 @@ local read_masks = function (v)
end
local quote
-degesch.setup_config {
+xC.setup_config {
masks = {
type = "string_array",
default = "\"\"",
@@ -72,8 +72,8 @@ local censor = function (line)
return start .. text
end
-degesch.hook_irc (function (hook, server, line)
- local msg = degesch.parse (line)
+xC.hook_irc (function (hook, server, line)
+ local msg = xC.parse (line)
if msg.command ~= "PRIVMSG" then return line end
local channel = msg.params[1]:lower ()
diff --git a/plugins/degesch/fancy-prompt.lua b/plugins/xC/fancy-prompt.lua
index 93fe67c..8ec697a 100644
--- a/plugins/degesch/fancy-prompt.lua
+++ b/plugins/xC/fancy-prompt.lua
@@ -28,15 +28,15 @@
-- background but to really fix that mode, we'd have to fully reimplement it
-- since its alternative prompt very often gets overriden by accident anyway.
-degesch.hook_prompt (function (hook)
- local current = degesch.current_buffer
+xC.hook_prompt (function (hook)
+ local current = xC.current_buffer
local chan = current.channel
local s = current.server
local bg_color = "255"
local current_n = 0
local active = ""
- for i, buffer in ipairs (degesch.buffers) do
+ for i, buffer in ipairs (xC.buffers) do
if buffer == current then
current_n = i
elseif buffer.new_messages_count ~= buffer.new_unimportant_count then
@@ -61,7 +61,7 @@ degesch.hook_prompt (function (hook)
end
if current.hide_unimportant then x = x .. "<H>" end
- local lines, cols = degesch.get_screen_size ()
+ local lines, cols = xC.get_screen_size ()
x = x .. " " .. active .. string.rep (" ", cols)
-- Readline 7.0.003 seems to be broken and completely corrupts the prompt.
diff --git a/plugins/degesch/last-fm.lua b/plugins/xC/last-fm.lua
index 6ade80d..3bdfed2 100644
--- a/plugins/degesch/last-fm.lua
+++ b/plugins/xC/last-fm.lua
@@ -23,7 +23,7 @@ local cjson = require "cjson"
-- Setup configuration to load last.fm API credentials from
local user, api_key
-degesch.setup_config {
+xC.setup_config {
user = {
type = "string",
comment = "last.fm username",
@@ -117,7 +117,7 @@ end
local running
-- Initiate a connection to last.fm servers
-async, await = degesch.async, coroutine.yield
+async, await = xC.async, coroutine.yield
local make_request = function (buffer, action)
if not user or not api_key then
report_error (buffer, "configuration is incomplete")
@@ -159,7 +159,7 @@ local send_song = function (buffer)
end
-- Hook input to simulate new commands
-degesch.hook_input (function (hook, buffer, input)
+xC.hook_input (function (hook, buffer, input)
if input == "/np" then
make_request (buffer, function (np)
now_playing = np
diff --git a/plugins/degesch/ping-timeout.lua b/plugins/xC/ping-timeout.lua
index 6444c0a..c455c57 100644
--- a/plugins/degesch/ping-timeout.lua
+++ b/plugins/xC/ping-timeout.lua
@@ -15,8 +15,8 @@
-- CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
--
-degesch.hook_irc (function (hook, server, line)
- local msg = degesch.parse (line)
+xC.hook_irc (function (hook, server, line)
+ local msg = xC.parse (line)
local start, timeout = line:match ("^(.* :Ping timeout:) (%d+) seconds$")
if msg.command ~= "QUIT" or not start then
return line
diff --git a/plugins/degesch/prime.lua b/plugins/xC/prime.lua
index 420124f..23740ee 100644
--- a/plugins/degesch/prime.lua
+++ b/plugins/xC/prime.lua
@@ -16,7 +16,7 @@
--
local smallest, highlight = 0, "\x1f"
-degesch.setup_config {
+xC.setup_config {
smallest = {
type = "integer",
default = "0",
@@ -62,7 +62,7 @@ end
-- XXX: sadly it won't typically highlight primes in our own messages,
-- unless IRCv3 echo-message is on
-degesch.hook_irc (function (hook, server, line)
+xC.hook_irc (function (hook, server, line)
local start, message = line:match ("^(.- PRIVMSG .- :)(.*)$")
return message and start .. do_message (message) or line
end)
diff --git a/plugins/degesch/slack.lua b/plugins/xC/slack.lua
index dcddb3c..c1a08de 100644
--- a/plugins/degesch/slack.lua
+++ b/plugins/xC/slack.lua
@@ -51,7 +51,7 @@ local load_emoji = function (extra)
for k, v in extra:gmatch "([^,]+) ([^,]+)" do emoji[k] = v end
end
-degesch.setup_config {
+xC.setup_config {
servers = {
type = "string_array",
default = "\"\"",
@@ -74,8 +74,8 @@ degesch.setup_config {
-- We can handle external messages about what we've supposedly sent just fine,
-- so let's get rid of that "[username] some message sent from the web UI" crap
-degesch.hook_irc (function (hook, server, line)
- local msg, us = degesch.parse (line), server.user
+xC.hook_irc (function (hook, server, line)
+ local msg, us = xC.parse (line), server.user
if not servers[server.name] or msg.command ~= "PRIVMSG" or not us
or msg.params[1]:lower () ~= us.nickname:lower () then return line end
@@ -88,7 +88,7 @@ degesch.hook_irc (function (hook, server, line)
end)
-- Unfuck emoji and :nick!nick@irc.tinyspeck.com MODE #channel +v nick : active
-degesch.hook_irc (function (hook, server, line)
+xC.hook_irc (function (hook, server, line)
if not servers[server.name] then return line end
if unemojify then
local start, text = line:match ("^(.- PRIVMSG .- :)(.*)$")
@@ -101,7 +101,7 @@ degesch.hook_irc (function (hook, server, line)
end)
-- The gateway simply ignores the NAMES command altogether
-degesch.hook_input (function (hook, buffer, input)
+xC.hook_input (function (hook, buffer, input)
if not buffer.channel or not servers[buffer.server.name]
or not input:match "^/names%s*$" then return input end
@@ -119,9 +119,9 @@ degesch.hook_input (function (hook, buffer, input)
buffer:log (names)
end)
-degesch.hook_completion (function (hook, data, word)
- local chan = degesch.current_buffer.channel
- local server = degesch.current_buffer.server
+xC.hook_completion (function (hook, data, word)
+ local chan = xC.current_buffer.channel
+ local server = xC.current_buffer.server
if not chan or not servers[server.name] then return end
-- In /commands there is typically no desire at all to add the at sign
diff --git a/plugins/degesch/thin-cursor.lua b/plugins/xC/thin-cursor.lua
index d0fbf38..d0fbf38 100644
--- a/plugins/degesch/thin-cursor.lua
+++ b/plugins/xC/thin-cursor.lua
diff --git a/plugins/degesch/utm-filter.lua b/plugins/xC/utm-filter.lua
index 63f85e3..82c4522 100644
--- a/plugins/degesch/utm-filter.lua
+++ b/plugins/xC/utm-filter.lua
@@ -52,11 +52,11 @@ local do_text = function (text)
return text:gsub ('%f[%g]https?://%g+', do_single_url)
end
-degesch.hook_irc (function (hook, server, line)
+xC.hook_irc (function (hook, server, line)
local start, message = line:match ("^(.* :)(.*)$")
return message and start .. do_text (message) or line
end)
-degesch.hook_input (function (hook, buffer, input)
+xC.hook_input (function (hook, buffer, input)
return do_text (input)
end)