aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-06-28 19:00:04 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-06-28 19:00:04 +0200
commit33ede38c48082c6b3b32947311fa70da0d78499c (patch)
treefb07c0570fe9ef8533968d909946a508b98e8e39 /.xinitrc
parentb0f6e0b064264b5b27d1eb7a71c43c6640e16632 (diff)
downloaddotfiles-33ede38c48082c6b3b32947311fa70da0d78499c.tar.gz
xinitrc.d added
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc32
1 files changed, 6 insertions, 26 deletions
diff --git a/.xinitrc b/.xinitrc
index 2270f19..d9f49ab 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -11,31 +11,11 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
unset f
fi
-# turn off Display Power Management Service (DPMS)
-xset -dpms
-setterm -blank 0 -powerdown 0
-
-# turn off black Screensaver
-xset s off
-
-#Screen background feh
-shopt -s nullglob
-
-pics=(~/vimconfig/pictures/b_*)
-#echo $pics
-len=${#pics[*]}
-ran=$(($RANDOM % len))
-
-feh --bg-fill ${pics[$ran]}
-
-xrdb .Xresources
-
-setxkbmap -layout de
-compton &
-dunst &
-
-if [ $DISPLAY -e ":0" ]; then
- lxqt-policykit-agent &
+if [ -f ~/.files ]; then
+ source ~/.files
+ for f in $DOTFILEBASE/xinitrc.d/*; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
fi
-exec i3