diff options
author | Stefan Ritter <xeno@thehappy.de> | 2005-04-19 04:08:49 +0200 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2005-04-19 04:08:49 +0200 |
commit | 80177419d83eb40abcd38e5a733105a29b8bab55 (patch) | |
tree | 2d0f819530f49ab57f95388ae5a8256b6c7a5be2 /xorg/xinitrc | |
parent | 4a7540d734b604ae5bba50c9d5a902dd212711f0 (diff) |
xinitrc update
Diffstat (limited to '')
-rwxr-xr-x | xorg/xinitrc | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/xorg/xinitrc b/xorg/xinitrc index e65fb7d..c9a4cf2 100755 --- a/xorg/xinitrc +++ b/xorg/xinitrc @@ -1,10 +1,24 @@ #!/bin/bash +WM='fvwm2' +WALLPAPER='media/bilder/wallpaper/wood_3.png' + setxkbmap de neo xset +fp /usr/share/fonts/local xset fp rehash -xrandr --output LVDS1 --off --output VGA1 --auto -feh --bg-scale media/bilder/wallpaper/wood_3.png -xscreensaver -no-splash & -exec ssh-agent i3 +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 |