rc.lua.template: make grep call POSIX compliant; #247

This commit is contained in:
Luca CPZ 2018-11-24 12:12:39 +00:00
parent 8fe4ac220e
commit 7aa7750285
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 4ead7a49c0b1a55fd8739343312207fa5de22651
Subproject commit 3f2d23c1598d3db4d8798cabbe393baa9e51beae

2
lain

@ -1 +1 @@
Subproject commit f6e032ffe180188dfd133d2924bfcbdfcb17b153
Subproject commit 4f3babced781559863e7300491c8d6f0e228810e

View File

@ -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 -q "^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