From 99dcf872d0d77130559f54abe4a367fb1843668d Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 22 Oct 2016 11:53:06 +0200 Subject: Stop tune terminal emulator decoration (better done with dot-files). --- xsh | 19 ++----------------- 1 file 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" -- cgit v1.2.3