]> gitweb.fluxo.info Git - scripts.git/commitdiff
Mutt and terminal titles; adding xwyrd
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 23 Mar 2014 17:07:55 +0000 (14:07 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 23 Mar 2014 17:07:55 +0000 (14:07 -0300)
mutt256
terminal
xwyrd [new file with mode: 0755]

diff --git a/mutt256 b/mutt256
index 3f8fdeca2d1e66d7a819df132057be402849adc3..f774b09573eab043a095076417697aafff5e52e1 100755 (executable)
--- 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
index a694aa10faedfd623538073450a755b710a7a968..e76974a06ad0bc546f995ee578042dc5e97e728a 100755 (executable)
--- 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 (executable)
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