summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2022-07-31 00:36:18 -0500
committerZachIR <zachir@librem.one>2022-07-31 00:36:18 -0500
commite400a15ac01ce0f690164b2e71d8d3cf34316a02 (patch)
tree5854a9b71c750174b919361912ae42731cdd0b16
parent423c86d4ac30531dd3713cc2e101468d2d1084ee (diff)
rc.lua: add irssi and todo scratchpads
-rw-r--r--rc.lua12
1 files changed, 12 insertions, 0 deletions
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",