Permalink
Browse files

adding fix for gnome session fallback

  • Loading branch information...
pwittchen committed Aug 18, 2015
1 parent d3a0f2b commit 1c5a2c798e82e810d8e962a1540f5428f77540d6
Showing with 6 additions and 0 deletions.
  1. +6 −0 screenfetch-dev
View
@@ -1338,6 +1338,12 @@ detectde () {
fi
fi
+ case "$DESKTOP_SESSION" in
+ gnome|gnome-fallback|gnome-fallback-compiz )
+ DE=Gnome
+ ;;
+ esac
+
if [ x"$DE" = x"" ]; then
# fallback to checking $DESKTOP_SESSION
case "$DESKTOP_SESSION" in

0 comments on commit 1c5a2c7

Please sign in to comment.