summaryrefslogtreecommitdiff
path: root/awesome
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-03-17 18:10:52 -0500
committerzachir <zachir@librem.one>2023-03-17 18:10:52 -0500
commitf53aae84ea9781e73e0d645549fcbf1f081a798a (patch)
tree949ad39f9e1f796c53320fdd9748c9f7d37e3d67 /awesome
parent63f13e5f97f096243c10169f3d791eded6e13aab (diff)
rc.lua: fix callback error in swallowing, add Alacritty as term
Diffstat (limited to 'awesome')
m---------awesome/awesome-wm-widgets0
-rw-r--r--awesome/rc.lua5
2 files changed, 3 insertions, 2 deletions
diff --git a/awesome/awesome-wm-widgets b/awesome/awesome-wm-widgets
-Subproject d1c047c78a647d0703785303c1ded6fb24ae012
+Subproject ab328b257f981e5cab2dcd4e0e77b30928736e5
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", "")