aboutsummaryrefslogtreecommitdiff
path: root/sv/x/xinit
blob: d97f4596909f0b1e2da10fd010cdd22b849e3f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

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

exec runsvdir ~/service.x 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'