aboutsummaryrefslogtreecommitdiffstats
path: root/xinitrc
blob: 82132aa9fd63ff0b06a0e4eb0bc4540849f49dbd (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
#!/bin/sh

readonly hostxinit="${XDG_CONFIG_HOME}/host/xinitrc";

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

# French keyboard layout
setxkbmap -layout "fr"

# No more "bip"
xset -b

[ -x "/usr/bin/numlockx" ] && numlockx on
[ -x "/usr/bin/dunst" ] && exec dunst &
[ -x "/usr/bin/pulseaudio" ] && exec systemctl --user start pulseaudio &
[ -x "/usr/bin/redshift" ] && exec redshift -l 48.390929:-4.487095 &

[ -f "${hostxinit}" ] && . "${hostxinit}"

exec i3