commit:     d03307987f872ed43e8a975eb4583188d5c5a5dc
Author:     Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
AuthorDate: Fri May  1 15:52:06 2015 +0000
Commit:     Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
CommitDate: Fri May  1 15:52:06 2015 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=d0330798

Add another missing file for gnome-session

Package-Manager: portage-2.2.18
Manifest-Sign-Key: 7E8B4D42

 gnome-base/gnome-session/files/90-xcursor-theme-gnome | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnome-base/gnome-session/files/90-xcursor-theme-gnome 
b/gnome-base/gnome-session/files/90-xcursor-theme-gnome
new file mode 100644
index 0000000..13bc453
--- /dev/null
+++ b/gnome-base/gnome-session/files/90-xcursor-theme-gnome
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [ "$DESKTOP_SESSION" = "gnome" -o "$DESKTOP_SESSION" = "cinnamon" ]; then
+    XCURSOR_THEME=`dconf read /org/gnome/desktop/interface/cursor-theme` 2> 
/dev/null
+    if [ x"$XCURSOR_THEME" = "x" ]; then
+        export XCURSOR_THEME="Adwaita"
+    else
+        # 'dconf read' wraps string output in single quotes
+        eval export "XCURSOR_THEME=$XCURSOR_THEME"
+    fi
+fi

Reply via email to