From 7fb53e418a48b8baa7bcab89967a0755f2230162 Mon Sep 17 00:00:00 2001 From: "Christopher R. Nelson" Date: Sun, 1 Nov 2026 00:16:04 -0400 Subject: Show subdirectories as nested submenus Each subdirectory of the wallpaper directory becomes an inline Openbox submenu, recursively, listed before the files at that level. A directory with no wallpapers and no subdirectories gets the same "No wallpapers in ..." header as an empty root. Hidden directories are skipped, and symlinks pointing back up the tree are not followed. Co-Authored-By: Claude Opus 5.5 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index f43ecd8..0ee66af 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,8 @@ Optional. Put it in `$XDG_CONFIG_HOME/wallpaper-switcher/config` (usually `~/.config/wallpaper-switcher/config`): ``` -# Where to look (~ and $HOME are expanded). Subdirectories are not searched. +# Where to look (~ and $HOME are expanded). Subdirectories become submenus; +# hidden ones (starting with .) are skipped. directory = ~/.wallpapers # Shell command run when an item is picked. %f is the file (already quoted -- cgit v1.2.3