summaryrefslogtreecommitdiff
path: root/awesome/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'awesome/rc.lua')
-rw-r--r--awesome/rc.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index d4dc3c9..bc49a37 100644
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -776,6 +776,7 @@ awful.rules.rules = {
"sptodo",
"sptrem",
"qpwgraph",
+ "QjackCtl",
"gcr-prompter"
}
},
@@ -839,7 +840,7 @@ awful.rules.rules = {
-- {{{ Window Swallowing functions
---[[
function is_terminal(c)
- return (c.class and c.class:match("St")) and true or false
+ return (c.class and (c.class:match("St") or c.class:match("Alacritty"))) and true or false
end
function copy_size(c, parent_client)
@@ -865,7 +866,7 @@ function get_parent_pid(child_ppid, callback)
awful.spawn.easy_async(ppid_cmd, function(stdout, stderr, reason, exit_code)
-- primitive error checking
if stderr and stderr ~= "" then
- callback(stderr)
+ callback(stderr, false)
return
end
local ppid = stdout:gsub(" ", ""):gsub("\n", "")