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

xdg-autostart: Fall back to default XDG variable values

For example, $XDG_RUNTIME_DIR might be unset in Debian 12
This commit is contained in:
Enno 2024-08-01 07:28:16 +02:00 committed by GitHub
parent 16c16bb16e
commit 00b8228c01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,7 +76,8 @@ awful.spawn.with_shell(
'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
'dex --environment Awesome --autostart --search-paths ' ..
'"${XDG_CONFIG_HOME:-$HOME/.config}/autostart:${XDG_CONFIG_DIRS:-/etc/xdg}/autostart";') -- https://github.com/jceb/dex
)
--]]