Merge lp:~mank319/variety/deepin into lp:~variety/variety/trunk

Proposed by Manuel Kehl on 2016-02-06
Status: Merged
Merged at revision: 538
Proposed branch: lp:~mank319/variety/deepin
Merge into: lp:~variety/variety/trunk
Diff against target: 16 lines (+6/-0)
1 file modified
data/scripts/set_wallpaper (+6/-0)
To merge this branch: bzr merge lp:~mank319/variety/deepin
Reviewer Review Type Date Requested Status
Peter Levi 2016-02-06 Pending
Review via email: mp+285275@code.launchpad.net

Description of the change

I added support for desktop sessions using the window manager of the Deepin project.

To post a comment you must log in.
Peter Levi (peterlevi) wrote :

Thanks, merged.

Manuel Kehl (mank319) wrote :

You're welcome! Your design makes it very easy to extend Variety ;-)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/scripts/set_wallpaper'
2--- data/scripts/set_wallpaper 2016-01-16 20:47:19 +0000
3+++ data/scripts/set_wallpaper 2016-02-06 17:23:33 +0000
4@@ -158,6 +158,12 @@
5 gsettings set org.gnome.desktop.background picture-options 'zoom'
6 fi
7
8+# Deepin
9+gsettings set com.deepin.wrap.gnome.desktop.background picture-uri "file://$WP" 2> /dev/null
10+if [ "`gsettings get com.deepin.wrap.gnome.desktop.background picture-options`" == "'none'" ]; then
11+ gsettings set com.deepin.wrap.gnome.desktop.background picture-options 'zoom'
12+fi
13+
14 # XFCE
15 command -v xfconf-query >/dev/null 2>&1
16 rc=$?

Subscribers

People subscribed via source and target branches