1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00

Fix xdg autostart bash code issue

This commit is contained in:
Anthony F McInerney 2018-11-05 10:05:34 +00:00
parent adc7ff97ea
commit 220b391502

View file

@ -61,7 +61,7 @@ run_once({ "urxvtd", "unclutter -root" }) -- entries must be separated by commas
-- This function implements the XDG autostart specification -- This function implements the XDG autostart specification
--[[ --[[
awful.spawn.with_shell( 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";' .. 'xrdb -merge <<< "awesome.started:true";' ..
-- list each of your autostart commands, followed by ; inside single quotes, followed by .. -- 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 'dex --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:$XDG_CONFIG_HOME/autostart"' -- https://github.com/jceb/dex