Add /etc/grml/screenrc_generic; revert changes in caption/hardstatus switch
[grml-etc-core.git] / etc / grml / screenrc_acpi
index 781731b..f3b5e76 100644 (file)
@@ -3,15 +3,18 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Sam Mai 27 23:16:23 CEST 2006 [mika]
+# Latest change: Fre Sep 28 23:35:39 CEST 2007 [mika]
 ################################################################################
 
   backtick 1 60 60 /usr/bin/cpu-screen
-  backtick 2 60 60 /usr/bin/yacpi -t
-  caption always "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}acpi: %2`)  %-21=%{wk}%D %d.%m.%Y %0c"
-  hardstatus alwayslastline "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"
+  backtick 2 60 60 /usr/bin/yacpi -p -t
+  caption always "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr} cpu: %1` | %{kG}acpi: %2`)  %-21=%{kw}%D %d.%m.%Y %0c"
+  hardstatus alwayslastline "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
+
+# switch order of caption and hardstatus:
+#  caption always "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
+#  hardstatus alwayslastline "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr} cpu: %1` | %{kG}acpi: %2`)  %-21=%{kw}%D %d.%m.%Y %0c"
 
-#  hardstatus alwayslastline "%{bw}%1`%= "
 # detach on hangup
   autodetach            on              # default: on
   crlf                  off             # default: off
@@ -34,7 +37,7 @@
 # fix the "screen.linux" terminal problem (see Debian BTS #238355 + #239776)
 #  term linux
 
-  shell                 zsh
+  shell                 /bin/zsh
 
 # "sorendition": set the colors for
 # the "messages" and "text marking"
 #
 # Welcome the user:
   echo "welcome BoFH!"
+
+# vim: ft=screen