aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-10-07 09:17:37 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-10-07 09:17:37 +0200
commitbb7ffa13bdf4439c1820671b556c31e21124ab22 (patch)
tree5afe8464d14ae8805241443fbd8873ccd13b1466 /.xinitrc
parenta1460614d0519bfeb3ce430d7f76acd15f0ae719 (diff)
downloaddotfiles-bb7ffa13bdf4439c1820671b556c31e21124ab22.tar.gz
asdf
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