From c8f2fd8d2f23b8c40c18c53be04af7dc813e8994 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 17 Nov 2017 12:46:39 +0100 Subject: .xprofile: Starting compton with the X session, but without configuration. Starting only redshift-gtk (otherwise conflicts with the normal redshift). --- .xprofile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to '.xprofile') diff --git a/.xprofile b/.xprofile index 7a0ee89..cb216b1 100644 --- a/.xprofile +++ b/.xprofile @@ -38,11 +38,10 @@ 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 compton +if [ -x /usr/bin/compton -a ! -a /sys/kernel/realtime ]; then + /usr/bin/compton -d "$DISPLAY" -CGb & +fi # start conky if [ -x /usr/bin/conky ]; then @@ -52,7 +51,6 @@ fi # start redshift if [ -x /usr/bin/redshift ]; then - /usr/bin/redshift -c .config/redshift.conf & /usr/bin/redshift-gtk & fi -- cgit v1.2.3-54-g00ecf