From 25d9978918c83ce47499378d9fd1ff322d2ddf56 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 25 Jul 2008 15:39:39 +0200 Subject: introduce __custom --- spec/sound-theme-spec.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'spec') diff --git a/spec/sound-theme-spec.xml b/spec/sound-theme-spec.xml index 2277cf3..c0b7754 100644 --- a/spec/sound-theme-spec.xml +++ b/spec/sound-theme-spec.xml @@ -456,6 +456,17 @@ The lookup algorithm should check for ".disabled" files first, followed by ".ogg" and finally for ".wav". + Configuration programs that allow limited user manipulation of the + selected sound theme (i.e. for disabling or replacing certain + sounds), should create a dynamicly created theme "__custom" that + inherits from the selected theme and store it in the + "~/.local/share/sounds/__custom" directory. Its index.theme should + list a single directory ".". The sounds defined in that theme + should not be attached to any output profile and should not be + localized. The overwritten sounds should thus be stored directly + below the aforementioned directory. + + The exact algorithm (in pseudocode) for looking up a sound in a theme is: -- cgit