aboutsummaryrefslogtreecommitdiff
path: root/sv/x/xinit
blob: 30439a58b267263789737c199e66f931ab4a6f17 (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
#!/bin/mksh

exec 2>&1

echo "setting up x environment"
xset +fp ~/.fonts/
xset +fp /usr/share/fonts/misc/
xset fp rehash
xset -b

case "$HOSTNAME" in
  tux)
    xrandr --dpi 96
    ;;
  mir02)
    xrandr --dpi 91
    xrandr --output DP1 --left-of DP2
    ;;
esac

setxkbmap de

echo "starting ~/service.x"
exec /usr/bin/ck-launch-session dbus-launch runsvdir ~/service.x