aboutsummaryrefslogtreecommitdiffstats
path: root/.xprofile
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-11-17 12:46:39 +0100
committerDavid Runge <dave@sleepmap.de>2017-11-17 12:46:39 +0100
commitc8f2fd8d2f23b8c40c18c53be04af7dc813e8994 (patch)
tree3d0c1d96517ab3e162c84e32bb37f9fe11b4da39 /.xprofile
parent20cee5f5b3d7517fd50bc5d09df30029d62e7c06 (diff)
downloaddotfiles-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).
Diffstat (limited to '.xprofile')
-rw-r--r--.xprofile10
1 files changed, 4 insertions, 6 deletions
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