summaryrefslogtreecommitdiff
path: root/~drtan/parabola-gnome/parabola-gnome.install
diff options
context:
space:
mode:
authorDrtan Samos <lashdu@drtan.twilightparadox.com>2014-02-22 18:45:51 +0100
committerDrtan Samos <lashdu@drtan.twilightparadox.com>2014-02-22 18:45:51 +0100
commit0160afcf1bc15d7815c51a64e9f91e000a22de63 (patch)
treeaa67c741586dca7a8b057b9d39b08ccb83e763d9 /~drtan/parabola-gnome/parabola-gnome.install
parent3952c950411e08af0fc9a89d5440725660bbcab5 (diff)
parabola-gnome-1.0-6: The new version.
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
}