3 backtick 1 0 10 /usr/bin/cpu-screen
4 backtick 2 0 30 /usr/bin/ip-screen
5 backtick 3 0 5 /usr/local/bin/bat_state.pyc
6 backtick 4 0 5 /usr/local/bin/meminfo.pyc
8 # Wich screen windows should start
9 screen -t top 0 nice top
10 screen -t irssi 1 nice irssi
12 # Local in META Screen by lefant
13 # screen -t localhost 1 screen -S local -d -RR
15 # use %n to display the window number and %t for its title:
16 activity "activity in %n (%t) [%w:%s]~"
18 # pass on the "beep" (CTRL-G) by adding a '~':
19 bell "bell in %n (%t) [%w:%s]~"
21 # pow_detach_msg: Message shown when session
22 pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
24 # vbell_msg: Message shown when the
35 termcapinfo xterm*|linux*|rxvt*|Eterm* OP
38 #hardcopydir ~/.screen
42 hardstatus alwayslastline
43 #caption always "%{wk}%?%-Lw%?%{kW}%n*%f %t%?(%u)%?%{wk}%?%+Lw"
44 caption always "%{b k}[ %{r}$USER@%{b}%H %{b}]%{w}[ %1` ]%{C}[ %4` ]%{B}[%= %2` %= ]%-62=%{Y}[ %{Y}%l ]%{b}[ %3` ]%{g}[ %0c ]%{w}[ %D %d.%m.%Y ]"
45 hardstatus string "%{g}%=%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%=%{g}"
47 sorendition 10 99 # default!
49 #idle 600 eval "screen cmatrix -o -f -u 9 -C red -s" "idle 0"
57 bind G screen -t 'google' w3m www.google.com
58 bind H screen -t HeiseTicker w3m www.heise.de/newsticker/pda/data/paket4.html
62 /usr/local/bin/bat_info.py (compile with py_compilefiles)
68 state = open("/proc/acpi/battery/BAT0/state","r").readlines()
69 info = open("/proc/acpi/battery/BAT0/info","r").readlines()
72 aktuell = string.join(re.findall("[0-9]", state[4]), '')
73 design = string.join(re.findall("[0-9]", info[1]), '')
74 full = string.join(re.findall("[0-9]", info[2]), '')
76 aktuell = float(aktuell)
77 design = float(design)
79 print "%.2f | %.2f" %((100/(design/aktuell)), (100/(design/full)))
82 /usr/local/bin/meminfo.py
87 mem = open("/proc/meminfo","r").readlines()
89 all = float(string.join(re.findall("[0-9]",mem[0]), ''))/1048576
90 free = float(string.join(re.findall("[0-9]",mem[1]), ''))/1048576
91 swapall = float(string.join(re.findall("[0-9]",mem[11]), ''))/1048576
92 swapfree = float(string.join(re.findall("[0-9]",mem[12]), ''))/1048576
94 print "%.2f/%.2f | %.2f/%.2f" %(free,all,swapfree,swapall)
98 Get your ip-screen and cpu-screen from GRML!