From d6f1dbcfc78c2b0cc356374ab4ea16332d5c4280 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 14 Nov 2017 10:55:25 +0100 Subject: .xprofile: Adding starting of conky and redshift. Starting of compton is commented still, as the configuration leads to screens not being setup properly on multi-monitor setups. --- .xprofile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to '.xprofile') diff --git a/.xprofile b/.xprofile index d8fd32b..7a0ee89 100644 --- a/.xprofile +++ b/.xprofile @@ -38,6 +38,24 @@ if [ -x /usr/bin/xautolock -a -x /usr/bin/i3lock ]; then -locker "/usr/bin/i3lock -n -e -c 000000 -f" & fi +## start compton +## TODO: configuration file needs to be revised, messes with xrandr +#if [ -x /usr/bin/compton -a -a /sys/kernel/realtime ]; then +# /usr/bin/compton -b -d "$DISPLAY" & +#fi + +# start conky +if [ -x /usr/bin/conky ]; then + /usr/bin/conky -X "$DISPLAY" -c .config/conky/$(hostname)-network.conf & + /usr/bin/conky -X "$DISPLAY" -c .config/conky/$(hostname)-general.conf & +fi + +# start redshift +if [ -x /usr/bin/redshift ]; then + /usr/bin/redshift -c .config/redshift.conf & + /usr/bin/redshift-gtk & +fi + # start a termite terminal if [ -x /usr/bin/termite ]; then termite & -- cgit v1.2.3-70-g09d2