From 7afc189c060f6309dbb48aa23ad02ad20a6a5e0b Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Mon, 31 Aug 2020 08:17:34 +0100 Subject: [PATCH] common/dir.c: do not include openbox/ dirs 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 | 2 -- src/common/dir.c | 4 ---- 2 files changed, 6 deletions(-) diff --git a/docs/labwc.5.md b/docs/labwc.5.md index 19f56dee..e2642c40 100644 --- a/docs/labwc.5.md +++ b/docs/labwc.5.md @@ -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 `` diff --git a/src/common/dir.c b/src/common/dir.c index 281ad4b6..10b95763 100644 --- a/src/common/dir.c +++ b/src/common/dir.c @@ -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 } }; -- 2.52.0