]> git.mdlowis.com Git - proto/labwc.git/commitdiff
common/dir.c: do not include openbox/ dirs
authorJohan Malm <jgm323@gmail.com>
Mon, 31 Aug 2020 07:17:34 +0000 (08:17 +0100)
committerJohan Malm <jgm323@gmail.com>
Mon, 31 Aug 2020 07:17:34 +0000 (08:17 +0100)
It is better to be explicit with config files and only using those
specifically intended for labwc. Whilst compatibility with openbox is
intended, there are areas where it just doesn't make sense to include
settings intended for openbox, for example in the case of
$HOME/.config/openbox/autostart

With built-in icons and theme/config settings, it should be easy for new
users to get started without spending time on config files anyway.

docs/labwc.5.md
src/common/dir.c

index 19f56dee282948c55f018c28b651ed8e46fc9875..e2642c40a8e7dc78fad8d644154b4f97800b7600 100644 (file)
@@ -18,8 +18,6 @@ searched for in the following order:
 
 - `${XDG_CONFIG_HOME:-$HOME/.config}/labwc`  
 - `${XDG_CONFIG_DIRS:-/etc/xdg}/labwc`  
-- `${XDG_CONFIG_HOME:-$HOME/.config}/openbox`  
-- `${XDG_CONFIG_DIRS:-/etc/xdg}/openbox`  
 
 # RC.XML `<lab>`
 
index 281ad4b65bfc29716fac0c6322c48ba5abc9667c..10b957638d8b09b94cbc0012cf74c90f8e77b4d6 100644 (file)
@@ -24,10 +24,6 @@ static struct dir config_dirs[] = {
        { "HOME", ".config/labwc" },
        { "XDG_CONFIG_DIRS", "labwc" },
        { NULL, "/etc/xdg/labwc" },
-       { "XDG_CONFIG_HOME", "openbox" },
-       { "HOME", ".config/openbox" },
-       { "XDG_CONFIG_DIRS", "openbox" },
-       { NULL, "/etc/xdg/openbox" },
        { NULL, NULL }
 };