summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc.lua26
1 files changed, 13 insertions, 13 deletions
diff --git a/rc.lua b/rc.lua
index 42aeaf5..80ab23c 100644
--- a/rc.lua
+++ b/rc.lua
@@ -282,35 +282,35 @@ end)
globalkeys = gears.table.join(
-- scratchpads
awful.key({ modkey, "Control" }, "z", function ()
- scratch.toggle("st -c sphtop -g 150x50 -e htop", { class = "sphtop" })
+ scratch.toggle("st -c sphtop -g 100x30 -e htop", { class = "sphtop" })
awful.placement.centered()
end,
{description = "Toggle htop scratchpad"}),
awful.key({ modkey, "Control" }, "x", function ()
- scratch.toggle("st -c spterm -g 150x50 -e zsh", { class = "spterm" })
+ scratch.toggle("st -c spterm -g 100x30 -e zsh", { class = "spterm" })
awful.placement.centered()
end,
- {description = "Toggle htop scratchpad"}),
+ {description = "Toggle term scratchpad"}),
awful.key({ modkey, "Control" }, "c", function ()
- scratch.toggle("st -c sppmxr -g 150x50 -e pulsemixer", { class = "sppmxr" })
+ scratch.toggle("st -c sppmxr -g 100x30 -e pulsemixer", { class = "sppmxr" })
awful.placement.centered()
end,
- {description = "Toggle htop scratchpad"}),
+ {description = "Toggle pulsemixer scratchpad"}),
awful.key({ modkey, "Control" }, "b", function ()
- scratch.toggle("st -c spncmp -g 150x50 -e ncmpcpp", { class = "spncmp" })
+ scratch.toggle("st -c spncmp -g 100x30 -e ncmpcpp", { class = "spncmp" })
awful.placement.centered()
end,
- {description = "Toggle htop scratchpad"}),
+ {description = "Toggle ncmpcpp scratchpad"}),
awful.key({ modkey, "Control" }, "a", function ()
- scratch.toggle("st -c spmutt -g 150x50 -e zsh -c neomutt", { class = "spmutt" })
+ scratch.toggle("st -c spmutt -g 100x30 -e zsh -c neomutt", { class = "spmutt" })
awful.placement.centered()
end,
- {description = "Toggle htop scratchpad"}),
+ {description = "Toggle neomutt scratchpad"}),
awful.key({ modkey, "Control" }, "s", function ()
- scratch.toggle("st -c spping -g 150x50 -e ping 9.9.9.9", { class = "spping" })
+ scratch.toggle("st -c spprof -g 100x30 -e profanity", { class = "spprof" })
awful.placement.centered()
end,
- {description = "Toggle htop scratchpad"}),
+ {description = "Toggle profanity scratchpad"}),
awful.key({ modkey, }, "a", function ()
spawnatbottom = not spawnatbottom
end,
@@ -616,7 +616,7 @@ awful.rules.rules = {
"sppmxr",
"spncmp",
"spmutt",
- "spping",
+ "spprof",
"ProtonMail Bridge",
"TheFiniteDemo",
"Arandr",
@@ -709,7 +709,7 @@ client.connect_signal("manage", function(c)
end
end)
--]]
----[[
+--[[
function is_terminal(c)
return (c.class and (c.class:match("Alacritty") or c.class:match("St"))) and true or false
end