aboutsummaryrefslogtreecommitdiffstats
path: root/.xprofile
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-11-14 10:55:25 +0100
committerDavid Runge <dave@sleepmap.de>2017-11-14 10:55:25 +0100
commitd6f1dbcfc78c2b0cc356374ab4ea16332d5c4280 (patch)
treee17607500872cae14296b2e272e048d697e7ef03 /.xprofile
parenta8c4c0505d44c771b78e879ea399761ebfd23110 (diff)
downloaddotfiles-d6f1dbcfc78c2b0cc356374ab4ea16332d5c4280.tar.gz
dotfiles-d6f1dbcfc78c2b0cc356374ab4ea16332d5c4280.tar.bz2
dotfiles-d6f1dbcfc78c2b0cc356374ab4ea16332d5c4280.tar.xz
dotfiles-d6f1dbcfc78c2b0cc356374ab4ea16332d5c4280.zip
.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.
Diffstat (limited to '.xprofile')
-rw-r--r--.xprofile18
1 files changed, 18 insertions, 0 deletions
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 &