From 220b391502a37553a4a5a5af60440fbda9b1e791 Mon Sep 17 00:00:00 2001 From: Anthony F McInerney Date: Mon, 5 Nov 2018 10:05:34 +0000 Subject: [PATCH] Fix xdg autostart bash code issue --- rc.lua.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.lua.template b/rc.lua.template index 4ae2080..f2f9d6c 100644 --- a/rc.lua.template +++ b/rc.lua.template @@ -61,7 +61,7 @@ run_once({ "urxvtd", "unclutter -root" }) -- entries must be separated by commas -- This function implements the XDG autostart specification --[[ awful.spawn.with_shell( - 'if (xrdb -query | grep --quiet "^awesome\\.started:\\s*true$"); then; exit; fi;' .. + 'if (xrdb -query | grep --quiet "^awesome\\.started:\\s*true$"); then exit; fi;' .. 'xrdb -merge <<< "awesome.started:true";' .. -- list each of your autostart commands, followed by ; inside single quotes, followed by .. 'dex --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:$XDG_CONFIG_HOME/autostart"' -- https://github.com/jceb/dex