handle terminfo for 256color rxvt
authorPierre Habouzit <madcoder@debian.org>
Fri, 10 Dec 2010 14:55:59 +0000 (15:55 +0100)
committerPierre Habouzit <madcoder@debian.org>
Fri, 10 Dec 2010 14:55:59 +0000 (15:55 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
config/awesome/rc.lua
config/terminfo/r/rxvt-unicode [deleted file]
terminfo/r/rxvt-unicode [new file with mode: 0644]
terminfo/r/rxvt-unicode-256color [new file with mode: 0644]
zshenv

index 577e529..2bcc47f 100644 (file)
@@ -9,6 +9,7 @@ require("vicious")
 
 terminal = "urxvtcd"
 lock     = 'xscreensaver-command -lock'
+lock     = 'gnome-screensaver-command --lock'
 beautiful.init(awful.util.getdir("config").."/theme")
 
 -- {{{ Modkeys
@@ -465,7 +466,7 @@ local clientkeys = awful.util.table.join(
         if mypromptbox.widget.text then
             mypromptbox.widget.text = ""
         else
-            mypromptbox.widget.text = "Class: " .. c.class .. " Instance: ".. c.instance
+            mypromptbox.widget.text = "Class: " .. c.class .. " Instance: ".. c.instance .. " Name: " .. c.name
         end
     end),
 
diff --git a/config/terminfo/r/rxvt-unicode b/config/terminfo/r/rxvt-unicode
deleted file mode 100644 (file)
index dd651dc..0000000
Binary files a/config/terminfo/r/rxvt-unicode and /dev/null differ
diff --git a/terminfo/r/rxvt-unicode b/terminfo/r/rxvt-unicode
new file mode 100644 (file)
index 0000000..2ed935e
Binary files /dev/null and b/terminfo/r/rxvt-unicode differ
diff --git a/terminfo/r/rxvt-unicode-256color b/terminfo/r/rxvt-unicode-256color
new file mode 100644 (file)
index 0000000..daac2b1
Binary files /dev/null and b/terminfo/r/rxvt-unicode-256color differ
diff --git a/zshenv b/zshenv
index 1e284b3..fc8acbc 100644 (file)
--- a/zshenv
+++ b/zshenv
@@ -34,11 +34,6 @@ function _chose_locale() {
 
 _chose_locale
 
-if test -z "$TERMINFO"; then
-    export TERMINFO=$HOME/.config/terminfo
-    export TERM=$TERM
-fi
-
 if test -d ~/dev/scm/git; then
     export GIT_EXEC_PATH=~/dev/scm/git
     export PATH=~/dev/scm/git:${PATH}