aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/xprofile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:25:10 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:25:10 -0200
commit6b9187673ee62d11042832f938913f15131592a7 (patch)
tree9e70016667efe273a72ab351aafaddbdb099e123 /modules/profile/xprofile
parent25235935e6c90557a4d6791c8d8f3a5cdf89681a (diff)
downloadmetadot-6b9187673ee62d11042832f938913f15131592a7.tar.gz
metadot-6b9187673ee62d11042832f938913f15131592a7.tar.bz2
Adding metadot script
Diffstat (limited to 'modules/profile/xprofile')
-rwxr-xr-xmodules/profile/xprofile53
1 files changed, 0 insertions, 53 deletions
diff --git a/modules/profile/xprofile b/modules/profile/xprofile
deleted file mode 100755
index ad4b3d7..0000000
--- a/modules/profile/xprofile
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/bash
-#
-# .xprofile: set basic X11 environment
-#
-
-# Background image
-BACKGROUND=""
-
-# Session applications
-PROGRAMS=""
-
-# OS Version
-OSVERSION="`cut -d . -f 1 /etc/debian_version`"
-
-# Make sure to load the profile
-. $HOME/.profile
-
-# Start xscreensaver
-xscreensaver -no-splash &
-
-# Custom
-if [ -e "$HOME/.custom/xprofile" ]; then
- . $HOME/.custom/xprofile
-fi
-
-# Set background
-if [ ! -z "$BACKGROUND" ]; then
- Esetroot -scale $HOME/.config/themes/backgrounds/$BACKGROUND
-else
- xsetroot -solid black
-fi
-
-# Additional applications depending on the machine type
-if laptop-detect; then
- PROGRAMS="$PROGRAMS wicd-client"
-else
- PROGRAMS="$PROGRAMS"
-fi
-
-# Start session applications
-for program in $PROGRAMS; do
- $program &
-done
-
-# See https://bugzilla.redhat.com/show_bug.cgi?id=783568
-# https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/932177
-unset GNOME_KEYRING_PID
-unset GNOME_KEYRING_CONTROL
-
-# Execute window manager
-if [ "$OSVERSION" == '7' ]; then
- awesome
-fi