summaryrefslogtreecommitdiff
path: root/.xinitrc
blob: f9ef2e3c7650963f59020323b66d7c957079554d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

#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 &
lxqt-policykit-agent &

exec i3