diff options
author | David Runge <dave@sleepmap.de> | 2017-11-17 12:46:39 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2017-11-17 12:46:39 +0100 |
commit | c8f2fd8d2f23b8c40c18c53be04af7dc813e8994 (patch) | |
tree | 3d0c1d96517ab3e162c84e32bb37f9fe11b4da39 | |
parent | 20cee5f5b3d7517fd50bc5d09df30029d62e7c06 (diff) | |
download | dotfiles-c8f2fd8d2f23b8c40c18c53be04af7dc813e8994.tar.gz dotfiles-c8f2fd8d2f23b8c40c18c53be04af7dc813e8994.tar.bz2 dotfiles-c8f2fd8d2f23b8c40c18c53be04af7dc813e8994.tar.xz dotfiles-c8f2fd8d2f23b8c40c18c53be04af7dc813e8994.zip |
.xprofile: Starting compton with the X session, but without configuration. Starting only redshift-gtk (otherwise conflicts with the normal redshift).
-rw-r--r-- | .xprofile | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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 |