shell-things/xsessionrc

34 lines
888 B
Bash

PATH=$HOME/.local/bin/:$HOME/.local/sbin/:$HOME/.local/games/:/opt/local/bin/:/opt/local/sbin:/opt/local/games/:$PATH
# 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