1 |
commit: d03307987f872ed43e8a975eb4583188d5c5a5dc |
2 |
Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 1 15:52:06 2015 +0000 |
4 |
Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 1 15:52:06 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=d0330798 |
7 |
|
8 |
Add another missing file for gnome-session |
9 |
|
10 |
Package-Manager: portage-2.2.18 |
11 |
Manifest-Sign-Key: 7E8B4D42 |
12 |
|
13 |
gnome-base/gnome-session/files/90-xcursor-theme-gnome | 11 +++++++++++ |
14 |
1 file changed, 11 insertions(+) |
15 |
|
16 |
diff --git a/gnome-base/gnome-session/files/90-xcursor-theme-gnome b/gnome-base/gnome-session/files/90-xcursor-theme-gnome |
17 |
new file mode 100644 |
18 |
index 0000000..13bc453 |
19 |
--- /dev/null |
20 |
+++ b/gnome-base/gnome-session/files/90-xcursor-theme-gnome |
21 |
@@ -0,0 +1,11 @@ |
22 |
+#!/bin/sh |
23 |
+ |
24 |
+if [ "$DESKTOP_SESSION" = "gnome" -o "$DESKTOP_SESSION" = "cinnamon" ]; then |
25 |
+ XCURSOR_THEME=`dconf read /org/gnome/desktop/interface/cursor-theme` 2> /dev/null |
26 |
+ if [ x"$XCURSOR_THEME" = "x" ]; then |
27 |
+ export XCURSOR_THEME="Adwaita" |
28 |
+ else |
29 |
+ # 'dconf read' wraps string output in single quotes |
30 |
+ eval export "XCURSOR_THEME=$XCURSOR_THEME" |
31 |
+ fi |
32 |
+fi |