aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
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