Files
mesh-catalog/modules/xdg/config/user-dirs.dirs
T
jochen 785d32407b xdg: own the account's folders and the machine's default applications
The workstations' XDG conventions had no owner: xdg-user-dirs-update rewrote
the folders file at every login, both machines' default-application lists
named an editor neither has, and the laptop kept two dead links of the
retired predecessor. The module adopts the operator's folders (three as
settings, as the machines differ), disables the update so it cannot undo the
mesh's file, and writes the machine's own mimeapps list, the last one read,
so the person's choices in their own list always win. Autostart is listed,
not owned: each entry is its application's module's.
2026-10-05 11:50:34 +02:00

18 lines
1002 B
Plaintext

# The account's folders (module xdg, novox/hq ADR 0182), written by the mesh and replaced at every
# push. Adopted from the workstations' own files of 2026-10-05. A folder that differs between the
# machines is a setting of this module; every other one is the same everywhere. PROJECTS names the
# folder the operator's repositories are in (it pointed at the home, or was absent).
#
# xdg-user-dirs-update never rewrites this file: user-dirs.conf beside it says enabled=False. Each
# line is xdg-user-dirs' only format, XDG_xxx_DIR="$HOME/yyy" or XDG_xxx_DIR="/yyy". "$HOME/" is
# the home itself: the folder is not wanted. xdg_user_dirs says what each one resolves to.
XDG_DESKTOP_DIR="${setting:desktop-dir}"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="${setting:publicshare-dir}"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="${setting:videos-dir}"
XDG_PROJECTS_DIR="$HOME/projects"