From e400a15ac01ce0f690164b2e71d8d3cf34316a02 Mon Sep 17 00:00:00 2001 From: ZachIR Date: Sun, 31 Jul 2022 00:36:18 -0500 Subject: rc.lua: add irssi and todo scratchpads --- rc.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'rc.lua') diff --git a/rc.lua b/rc.lua index 799ff66..d8e4edd 100644 --- a/rc.lua +++ b/rc.lua @@ -386,6 +386,16 @@ globalkeys = gears.table.join( end, {description = "Toggle profanity scratchpad"}), awful.key({ modkey, "Control" }, "d", function () + scratch.toggle(terminal_sp_cmd("spircc","irssi"), { class = "sptrem" }) + awful.placement.centered() + end, + {description = "Toggle irssi scratchpad"}), + awful.key({ modkey, "Control" }, "f", function () + scratch.toggle(terminal_sp_cmd("sptodo","todo"), { class = "sptrem" }) + awful.placement.centered() + end, + {description = "Toggle todo.txt scratchpad"}), + awful.key({ modkey, "Control" }, "g", function () scratch.toggle(terminal_sp_cmd("sptrem","tremc"), { class = "sptrem" }) awful.placement.centered() end, @@ -699,6 +709,8 @@ awful.rules.rules = { "spncmp", "spmutt", "spprof", + "spircc", + "sptodo", "sptrem", "ProtonMail Bridge", "TheFiniteDemo", -- cgit v1.2.3