summaryrefslogtreecommitdiffstats
path: root/xorg/xinitrc
blob: c9a4cf24f2259678f42b1de586ac413f3b21535b (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/bash

WM='fvwm2'
WALLPAPER='media/bilder/wallpaper/wood_3.png'

setxkbmap de neo
xset +fp /usr/share/fonts/local
xset fp rehash

if [ -e /usr/bin/xrandr ]; then
	if [ $(hostname) = "galahad" ]; then
		xrandr --output LVDS1 --off --output VGA1 --auto
	fi
fi

if [ -e "$WALLPAPER" -a /usr/bin/feh]; then
	feh --bg-scale $WALLPAPER
fi

if [ -e /usr/bin/xscreensaver ]; then
	xscreensaver -no-splash &
fi

exec ssh-agent $WM