summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-10-15 10:23:00 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-10-15 10:23:00 +0200
commitc45fd444fef5b99263c4fe311ff9bead2605ea72 (patch)
treecb20e77f34c65a6a902c498f42a2091c816f5eb7 /.xinitrc
parentff234cc890fdf1fe778d390de62b9df41d480d5f (diff)
parent4b4dabcf2e4e7c056dedabcf6ac92d265deaa5ab (diff)
downloaddotfiles-c45fd444fef5b99263c4fe311ff9bead2605ea72.tar.gz
Merge branch 'master' of github.com:kompetenzbolzen/vimconfig
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc15
1 files changed, 13 insertions, 2 deletions
diff --git a/.xinitrc b/.xinitrc
index 0acdb87..66d1b5d 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -11,7 +11,15 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
unset f
fi
-#Select random background image
+# turn off Display Power Management Service (DPMS)
+xset -dpms
+setterm -blank 0 -powerdown 0
+
+# turn off black Screensaver
+xset s off
+
+#Screen background feh
+>>>>>>> Stashed changes
shopt -s nullglob
pics=(~/vimconfig/pictures/b_*)
@@ -25,6 +33,9 @@ xrdb .Xresources
setxkbmap -layout de
compton &
-lxqt-policykit-agent &
+
+if [ $DISPLAY -e ":0" ]; then
+ lxqt-policykit-agent &
+fi
exec i3