summaryrefslogtreecommitdiffstats
path: root/.config/awesome
diff options
context:
space:
mode:
Diffstat (limited to '.config/awesome')
-rw-r--r--.config/awesome/rc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 26b385b..56cab96 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -120,9 +120,9 @@ local function run_once(cmd_name,cmd_args,process_name)
end
if not cmd_args then
- awful.util.spawn_with_shell("pgrep -f -u $USER -x '" .. process_name .. "' || (" .. cmd_name .. ")")
+ awful.spawn.with_shell("pgrep -u $USER -x '" .. process_name .. "' || (" .. cmd_name .. ")")
else
- awful.util.spawn_with_shell("pgrep -f -u $USER -x '" .. process_name .. "' || (" .. cmd_name .. " " .. cmd_args .. ")")
+ awful.spawn.with_shell("pgrep -u $USER -x '" .. process_name .. "' || (" .. cmd_name .. " " .. cmd_args .. ")")
end
end
-- }}}