mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-07 16:54:21 +02:00
xrun: don't use spawn_with_shell
We don't need a shell.
This commit is contained in:
parent
97c5b983e7
commit
fc2fd51f94
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ local xrun_now = function(name, cmd)
|
|||
if os.execute("xwininfo -name '" .. name .. "' > /dev/null 2> /dev/null") == 0 then
|
||||
return
|
||||
end
|
||||
awful.util.spawn_with_shell(cmd or name)
|
||||
awful.util.spawn(cmd or name, false)
|
||||
end
|
||||
|
||||
-- Run a command if not already running.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue