mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-24 11:14:13 +01:00
xsessionrc: make redshift as location independ as I can.
This commit is contained in:
parent
2abe9177c4
commit
9c1fccc93c
13
xsessionrc
13
xsessionrc
@ -10,12 +10,15 @@ echo "USE_VALIDATION_AGENT=true" > ~/.monkeysphere/monkeysphere.conf
|
|||||||
# Enable core files.
|
# Enable core files.
|
||||||
ulimit -c unlimited
|
ulimit -c unlimited
|
||||||
|
|
||||||
# Start gtk-redshift automatically with coordinates of Kotka.
|
# Start gtk-redshift automatically.
|
||||||
# You might want to change those coordinates if you aren't in the city of Kotka.
|
|
||||||
# Use http://stereopsis.com/flux/map.html to get the coordinates. Replace ", " with ":".
|
# Use http://stereopsis.com/flux/map.html to get the coordinates. Replace ", " with ":".
|
||||||
# Coordinates are specified, because automatic location setting doesn't work.
|
# Set the coordinates to file ~/.redshiftlocation in format redshiftlocation=60.4666227:26.9459998
|
||||||
# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685233
|
|
||||||
gtk-redshift -l 60.4666227:26.9459998&
|
if [ -f ~/.redshiftlocation ]; then
|
||||||
|
. ~/.redshiftlocation ];
|
||||||
|
fi
|
||||||
|
|
||||||
|
gtk-redshift -l $redshiftlocation&
|
||||||
|
|
||||||
# The environment was set to ~/.environment according to other files...
|
# The environment was set to ~/.environment according to other files...
|
||||||
if [ -f ~/.environment ]; then
|
if [ -f ~/.environment ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user