6

Problem autostarting applications with lua in Awesome

view full story
linux-howto

https://bbs.archlinux.org – This is what I made (it's based on last example from here, right before the Directory way):local function run_once(prg, arg_string, xname, pname) if not prg then do return nil end end if not pname then pname = prg end if not arg_string and not xname then awful.util.spawn_with_shell("pgrep -f -u $USER -x '" .. pname .. "' || (" .. prg .. ")") elseif arg_string and xname then awful.util.spawn_with_shell("pgrep -f -u $USER '\\" .. arg_string .. "' || (" .. prg .. &qu (HowTos)