mirror of
https://github.com/swaywm/sway.git
synced 2026-04-19 06:46:40 -04:00
Adds include_one <pattern1> <pattern2>, which loads all files matching pattern1, then loads files from pattern2 only if their basename was not already loaded from pattern1. This allows user configs in ~/.config/sway/conf.d/ to shadow distro-provided defaults in /etc/sway/conf.d/ by filename without completely overriding the include path — a common pain point for packagers on NixOS, Fedora, and similar distributions. Edge cases handled: - pattern1 matches nothing: all pattern2 files load normally - Same basename in both: pattern1 file wins, pattern2 skipped - Neither pattern matches: silently succeeds (matches include behavior) |
||
|---|---|---|
| .. | ||
| sway | ||
| swaybar | ||
| swaynag | ||
| cairo_util.h | ||
| gesture.h | ||
| ipc-client.h | ||
| ipc.h | ||
| list.h | ||
| log.h | ||
| loop.h | ||
| meson.build | ||
| pango.h | ||
| pool-buffer.h | ||
| stringop.h | ||
| util.h | ||