diff options
author | ZachIR <zachir@librem.one> | 2022-07-31 00:36:18 -0500 |
---|---|---|
committer | ZachIR <zachir@librem.one> | 2022-07-31 00:36:18 -0500 |
commit | e400a15ac01ce0f690164b2e71d8d3cf34316a02 (patch) | |
tree | 5854a9b71c750174b919361912ae42731cdd0b16 /rc.lua | |
parent | 423c86d4ac30531dd3713cc2e101468d2d1084ee (diff) |
rc.lua: add irssi and todo scratchpads
Diffstat (limited to 'rc.lua')
-rw-r--r-- | rc.lua | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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", |