shell-things/rc/xsessionrc
Mikaela Suomalainen 80d8b28cc9 Rearranging (#52)
2014-12-27 11:01:16 +02:00

38 lines
1.2 KiB
Bash

PATH=$PYENV_ROOT/shims:$PYENV_ROOT/bin:$HOME/.local/bin:$HOME/.local/sbin:$HOME/.local/games:$HOME/bin:$HOME/sbin:$HOME/games:$HOME/tmcbeans/bin:/opt/local/bin:/opt/local/sbin:/opt/local/games:/usr/local/bin:/usr/local/sbin:/usr/local/games:/bin:/sbin:/games:/usr/bin:/usr/sbin:/usr/games:$PATH
# Sets environment variable CPUARCH to output of "uname -p" & UNAME to "uname"
UNAME=$(uname)
CPUARCH=$(uname -p)
# Use gpg-agent
eval $(gpg-agent --daemon)
# For MonkeySphere
mkdir -p ~/.monkeysphere
echo "USE_VALIDATION_AGENT=true" > ~/.monkeysphere/monkeysphere.conf
# Enable core files.
ulimit -c unlimited
# Start gtk-redshift automatically.
# Use http://stereopsis.com/flux/map.html to get the coordinates. Replace ", " with ":".
# Set the coordinates to file ~/.redshiftlocation in format redshiftlocation=60.4666227:26.9459998
if [ -f ~/.redshiftlocation ]; then
. ~/.redshiftlocation ];
fi
gtk-redshift -l $redshiftlocation&
# The environment was set to ~/.environment according to other files...
if [ -f ~/.environment ]; then
. ~/.environment
fi
# Allow custom things to be put to ~/.xcustom
if [ -f ~/.xcustom ]; then
. ~/.xcustom
fi
# vim: set ft=sh