aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristopher R. Nelson <christopher.nelson@languidnights.com>2026-11-01 00:16:04 -0400
committerChristopher R. Nelson <christopher.nelson@languidnights.com>2026-11-01 00:16:04 -0400
commit7fb53e418a48b8baa7bcab89967a0755f2230162 (patch)
treee2e4ce1a04ac33650d5c7be06ebdc295ce9112c8 /README.md
parent0bca7a7eb09f0e094aa721f75d23f771d20c6bf3 (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
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