summaryrefslogtreecommitdiff
path: root/~drtan/parabola-gnome/parabola-gnome.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-03-03 20:04:33 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-03-03 20:04:33 -0200
commit0fa94cc4e85d854982656bf67d74f92ca7010a29 (patch)
treee627cceb1859adc23522c0b43d03c29995f19191 /~drtan/parabola-gnome/parabola-gnome.install
parent01379ff1707baf502ea50ebdee9ddcbe55c4955a (diff)
parent926e54e67433d33d75b19b21544c5b8303389aa0 (diff)
downloadabslibre-0fa94cc4e85d854982656bf67d74f92ca7010a29.tar.gz
abslibre-0fa94cc4e85d854982656bf67d74f92ca7010a29.tar.bz2
abslibre-0fa94cc4e85d854982656bf67d74f92ca7010a29.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to '~drtan/parabola-gnome/parabola-gnome.install')
-rw-r--r--~drtan/parabola-gnome/parabola-gnome.install22
1 files changed, 2 insertions, 20 deletions
diff --git a/~drtan/parabola-gnome/parabola-gnome.install b/~drtan/parabola-gnome/parabola-gnome.install
index 8d87c609a..8fce17b2e 100644
--- a/~drtan/parabola-gnome/parabola-gnome.install
+++ b/~drtan/parabola-gnome/parabola-gnome.install
@@ -1,11 +1,5 @@
post_install() {
- # Change default wallpaper
- dbus-launch gsettings set org.gnome.desktop.background picture-uri file:///usr/share/parabola/artwork/stripes.png
- dbus-launch gsettings set org.gnome.desktop.background picture-options zoom
-
- # Change default lock screen wallpaper.
- dbus-launch gsettings set org.gnome.desktop.screensaver picture-uri file:///usr/share/parabola/artwork/stripes-desaturated.png
- dbus-launch gsettings set org.gnome.desktop.screensaver picture-options zoom
+ dconf update
}
post_upgrade() {
@@ -13,17 +7,5 @@ post_upgrade() {
}
post_remove() {
- # Reset default wallpaper to default for GNOME (if the user didn't choose some other).
- if [ $(dbus-launch gsettings get org.gnome.desktop.background picture-uri) == "file:///usr/share/parabola/artwork/stripes.png" ]
- then
- dbus-launch gsettings reset org.gnome.desktop.background picture-uri
- dbus-launch gsettings reset org.gnome.desktop.background picture-options
- fi
-
- # Reset default lock screen wallpaper to default for GNOME (if the user didn't choose some other).
- if [ $(dbus-launch gsettings get org.gnome.desktop.screensaver picture-uri) == "file:///usr/share/parabola/artwork/stripes.png" ]
- then
- dbus-launch gsettings reset org.gnome.desktop.screensaver picture-uri
- dbus-launch gsettings reset org.gnome.desktop.screensaver picture-options
- fi
+ post_install $1
}