summaryrefslogtreecommitdiff
path: root/xsh
diff options
context:
space:
mode:
Diffstat (limited to 'xsh')
-rwxr-xr-xxsh19
1 files changed, 2 insertions, 17 deletions
diff --git a/xsh b/xsh
index 5a1f0d5..9324a6e 100755
--- a/xsh
+++ b/xsh
@@ -14,13 +14,9 @@ termwrapper() {
fi
if [ -n "$PRG" ]; then
-# x-terminal-emulator +sb -sl 500 -e $PRG &
- x-terminal-emulator $opts -e $PRG &
-# exec x-terminal-emulator $opts -e $PRG &
+ x-terminal-emulator -e $PRG &
else
-# exec x-terminal-emulator +sb -sl 500 &
- x-terminal-emulator $opts &
-# exec x-terminal-emulator $opts &
+ x-terminal-emulator &
fi
}
@@ -54,17 +50,6 @@ if [ $# -gt 0 ]; then
prg_opts=$@
fi
-case `readlink /etc/alternatives/x-terminal-emulator | xargs basename` in
-# rxvt*) opts="+sb -sl 500";;
- rxvt*) opts="+sb -sl 500 -ls";;
- urxvt*) opts="+sb -sl 500 -ls";;
- *xterm) opts="+sb -sl 500 +wc";;
- gnome-terminal) opts="";;
- gnome-terminal.wrapper) opts="";;
- konsole*) opts="--notoolbar";;
- *) opts="";;
-esac
-
# Pause for a moment if verbose
if [ "$V" = 1 ]; then
prg_opts="$prg_opts; sleep 4"