From 7aa7750285ed12f37a05288b7e55b0582dd0f21b Mon Sep 17 00:00:00 2001 From: Luca CPZ Date: Sat, 24 Nov 2018 12:12:39 +0000 Subject: [PATCH] rc.lua.template: make grep call POSIX compliant; #247 --- freedesktop | 2 +- lain | 2 +- rc.lua.template | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/freedesktop b/freedesktop index 4ead7a4..3f2d23c 160000 --- a/freedesktop +++ b/freedesktop @@ -1 +1 @@ -Subproject commit 4ead7a49c0b1a55fd8739343312207fa5de22651 +Subproject commit 3f2d23c1598d3db4d8798cabbe393baa9e51beae diff --git a/lain b/lain index f6e032f..4f3babc 160000 --- a/lain +++ b/lain @@ -1 +1 @@ -Subproject commit f6e032ffe180188dfd133d2924bfcbdfcb17b153 +Subproject commit 4f3babced781559863e7300491c8d6f0e228810e diff --git a/rc.lua.template b/rc.lua.template index f2f9d6c..069add8 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 -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