diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-08 01:32:00 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-08 01:32:00 -0200 |
commit | 8b970d5990aaea3543ba70350d27daa5a8c5ca22 (patch) | |
tree | 1db3c82326f59968644cf72d2f81cdd49168e93c /modules/profile/xprofile.dot.link | |
parent | 1201d13175d748592aea1293f7161c71911f9c6b (diff) | |
download | dotfiles-8b970d5990aaea3543ba70350d27daa5a8c5ca22.tar.gz dotfiles-8b970d5990aaea3543ba70350d27daa5a8c5ca22.tar.bz2 |
Do not link xsession with xprofile
Diffstat (limited to 'modules/profile/xprofile.dot.link')
-rw-r--r--[-rwxr-xr-x] | modules/profile/xprofile.dot.link | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/modules/profile/xprofile.dot.link b/modules/profile/xprofile.dot.link index 7de56ea..e69de29 100755..100644 --- a/modules/profile/xprofile.dot.link +++ b/modules/profile/xprofile.dot.link @@ -1,63 +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`" - -# Hostname -HOSTNAME="`cat /etc/hostname`" - -# 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" -else - PROGRAMS="$PROGRAMS" -fi - -# Start session applications -for program in $PROGRAMS; do - $program & -done - -# Apply custom keyboard configuration -if [ -f "$HOME/.Xmodmaps/$HOSTNAME" ]; then - xmodmap $HOME/.Xmodmaps/$HOSTNAME -fi - -# Execute window manager -if [ "$OSVERSION" = "7" ]; then - # 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 - #eval $(gnome-keyring-daemon --start) & - - # Start window manager - awesome -fi |