mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 03:02:32 +00:00
xdg-autostart: Fall back to default XDG variable values (#313)
* 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:
parent
f131fcbc4a
commit
368e3705df
|
@ -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
|
||||
)
|
||||
--]]
|
||||
|
||||
|
|
Loading…
Reference in a new issue