aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-23 14:07:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-23 14:07:55 -0300
commit865cae79f8a6367f22086f6521c34f498b63b6ad (patch)
tree74dbf1eb65bd652e049a600c5957660a51dcbdd5
parent777401112e31d5e629ec5256dcc873622184c6d3 (diff)
downloadscripts-865cae79f8a6367f22086f6521c34f498b63b6ad.tar.gz
scripts-865cae79f8a6367f22086f6521c34f498b63b6ad.tar.bz2
Mutt and terminal titles; adding xwyrd
-rwxr-xr-xmutt2562
-rwxr-xr-xterminal6
-rwxr-xr-xxwyrd13
3 files changed, 20 insertions, 1 deletions
diff --git a/mutt256 b/mutt256
index 3f8fdec..f774b09 100755
--- a/mutt256
+++ b/mutt256
@@ -2,4 +2,6 @@
#
# See http://linuxforcynics.com/how-to/using-rxvt-unicode-with-screen
# https://bbs.archlinux.org/viewtopic.php?id=50647
+
+xtitle mail
TERM=rxvt-256color /usr/bin/mutt
diff --git a/terminal b/terminal
index a694aa1..e76974a 100755
--- a/terminal
+++ b/terminal
@@ -6,7 +6,11 @@
source ~/.geometry || exit 1
if [ -z "$TITLE" ]; then
- TITLE="terminal"
+ if [ ! -z "$1" ]; then
+ TITLE="$1"
+ else
+ TITLE="terminal"
+ fi
fi
if [ "$TERM" == "rxvt" ]; then
diff --git a/xwyrd b/xwyrd
new file mode 100755
index 0000000..6e07d6e
--- /dev/null
+++ b/xwyrd
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# Start calendar application.
+#
+
+# Set title.
+xtitle calendar
+
+# For some reason, we have to sleep a while, otherwise wyrd won't start.
+sleep 0.2
+
+# Start wyrd.
+wyrd