aboutsummaryrefslogtreecommitdiff
path: root/terminal
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-18 16:47:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-09-18 16:47:55 -0300
commitb4e2708c6f8cc2191c581aef404803478e65e678 (patch)
tree703d3f7f8f96d9564e7cc3f8ebf85a38c93ab3e1 /terminal
parent4fdd3ebb2b0622fb6cff7376a02a5b92c1aba2ae (diff)
downloadscripts-b4e2708c6f8cc2191c581aef404803478e65e678.tar.gz
scripts-b4e2708c6f8cc2191c581aef404803478e65e678.tar.bz2
Moved scripts to custom repos
Diffstat (limited to 'terminal')
-rwxr-xr-xterminal38
1 files changed, 0 insertions, 38 deletions
diff --git a/terminal b/terminal
deleted file mode 100755
index e76974a..0000000
--- a/terminal
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-#
-# Terminal emulator wrapper
-#
-
-source ~/.geometry || exit 1
-
-if [ -z "$TITLE" ]; then
- if [ ! -z "$1" ]; then
- TITLE="$1"
- else
- TITLE="terminal"
- fi
-fi
-
-if [ "$TERM" == "rxvt" ]; then
- if [ ! -z "$1" ]; then
- rxvt-unicode -bg black +sb -fg white -fn $FONT -g $GEOMETRY -title $TITLE \
- -e bash -rcfile $HOME/.terminal -c "$*"
- else
- rxvt-unicode -bg black +sb -fg white -fn $FONT -g $GEOMETRY -title $TITLE \
- -e bash -rcfile $HOME/.terminal
- fi
-elif [ "$TERM" == "Eterm" ]; then
- if [ ! -z "$1" ]; then
- Eterm --background-pixmap 0 --scrollbar 0 +sb -b black -f white -F $FONT --borderless no \
- --buttonbar 0 -g $GEOMETRY -n$TITLE -e bash -rcfile $HOME/.terminal -c "$*"
- else
- Eterm --background-pixmap 0 --scrollbar 0 +sb -b black -f white -F $FONT --borderless no \
- --buttonbar 0 -g $GEOMETRY -n$TITLE -e bash -rcfile $HOME/.terminal
- fi
-elif [ "$TERM" == "xterm" ]; then
- if [ ! -z "$1" ]; then
- xterm -u8 -fn $FONT -geometry $GEOMETRY -title $TITLE -e bash -c "$*"
- else
- xterm -u8 -fn $FONT -geometry $GEOMETRY -title $TITLE -e bash
- fi
-fi