From: tfheen Date: Mon, 30 Sep 2002 09:29:32 +0000 (+0000) Subject: initial checkin X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d31e16dab9f17384a057f0b7a5435c77518e915c;p=dotfiles initial checkin git-svn-id: file:///svn/tfheen/trunk/dotfiles@52 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/Xclients b/Xclients new file mode 100755 index 0000000..bb4bf71 --- /dev/null +++ b/Xclients @@ -0,0 +1,9 @@ +#!/bin/bash + +# Created by Red Hat Desktop Switcher + +if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then + exec $HOME/.Xclients-$HOSTNAME$DISPLAY +else + exec $HOME/.Xclients-default +fi diff --git a/Xclients-default b/Xclients-default new file mode 100755 index 0000000..a4a4619 --- /dev/null +++ b/Xclients-default @@ -0,0 +1,57 @@ +#! /bin/sh +#exec startkde + +if [ -f ~/.Xdefaults ]; then + xrdb ~/.Xdefaults +fi + +#xmodmap -e 'keycode 115 = less greater' +#xmodmap -e 'keycode 117 = greater less' + +eval `ssh-agent` +if [ -f ~/.ssh/identify ]; then + ssh-add ~/.ssh/identity +fi +if [ -f ~/.ssh/id_dsa ]; then + ssh-add ~/.ssh/id_dsa +fi + +xsetroot -solid DarkSlateGray & +xterm -ls -title xterm1 -geometry 83x25+0+23 & +xterm -ls -title xterm2 -geometry 83x25+0+375 & +xterm -ls -title xterm3 -geometry 83x25-0+23 & +xterm -ls -title xterm4 -geometry 83x25-0+375 & + +xterm -xrm "*Desk:1" -ls -title xterm5 -geometry 83x25+0+23 & +xterm -xrm "*Desk:1" -ls -title xterm6 -geometry 83x25+0+375 & +emacs -xrm "*Desk:1" -geometry 81x50-0+23 & +unclutter -idle 5 -jitter 2 -root& + +nice xstarfish -d 1 hour -s small & +root-portal -n& + +xset r rate 250 50 +xset -b + +if type fvwm2; then + exec fvwm2 +fi + +if type fvwm; then + exec fvwm +fi + +if type -p startkde; then + exec startkde +fi + +if type -p sawfish; then + exec sawfish +fi + +if type -p sawmill; then + exec sawmill +fi + +# Absolute fallback +exec xterm diff --git a/xsession b/xsession new file mode 100755 index 0000000..98b32db --- /dev/null +++ b/xsession @@ -0,0 +1,4 @@ +#! /bin/sh + +exec ~/.Xclients +