diff --git a/helpers/DATA/unity-greeter/com.canonical.unity-greeter.gschema.xml b/helpers/DATA/unity-greeter/com.canonical.unity-greeter.gschema.xml index e7662ba..747567f 100644 --- a/helpers/DATA/unity-greeter/com.canonical.unity-greeter.gschema.xml +++ b/helpers/DATA/unity-greeter/com.canonical.unity-greeter.gschema.xml @@ -2,7 +2,7 @@ - '/usr/share/backgrounds/nabia.jpg' + '/usr/share/backgrounds/CODENAME' Background file to use, either an image path or a color (e.g. #772953) diff --git a/helpers/make-unity-greeter b/helpers/make-unity-greeter index 16ec4e4..3d2227b 100644 --- a/helpers/make-unity-greeter +++ b/helpers/make-unity-greeter @@ -17,13 +17,16 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=5 +VERSION=6 . ./config # Custom settings cp $DATA/com.canonical.unity-greeter.gschema.xml data +# Change the background wallpaper correspondingly to the new release along with extension. +sed -i "s|CODENAME|$CODENAME.jpg|" data/com.canonical.unity-greeter.gschema.xml + # Change the sound theme sed s/ubuntu/freedesktop/g src/unity-greeter.vala -i sed 's/"system-ready"/"bell"/' src/unity-greeter.vala -i