Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scripts/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xinitrc')
-rw-r--r--scripts/xinitrc12
1 files changed, 2 insertions, 10 deletions
diff --git a/scripts/xinitrc b/scripts/xinitrc
index 078d52b..fd85440 100644
--- a/scripts/xinitrc
+++ b/scripts/xinitrc
@@ -11,8 +11,6 @@ if [ -f $ROOT_DIR/config ]; then
source $ROOT_DIR/config
fi
-echo $OUTPUT
-
# Sugar doesn't handle multiple outputs properly. To avoid issues we keep the
# first output in the list returned by xrandr and turn off everything else.
@@ -30,14 +28,8 @@ do
fi
done
-if [ ! -z $RESOLUTION ]; then
- xrandr -s $RESOLUTION
-fi
-
-if [ -z $SUGAR_SESSION ]; then
- export SUGAR_SESSION=yes
-else
- export SUGAR_PROFILE=development
+if [ ! -z $PROFILE ]; then
+ export SUGAR_PROFILE=$PROFILE
fi
eval `ssh-agent -s`