X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=SebastianBachmann%2FScreenrc%2Findex.mdwn;h=b40ca7fbdfc6ded5fc842b93247d0e9a31b55ffa;hb=83dca7ec72bf59953a750c84940ba84c4b273038;hp=bc0ef0f4aadf2bd0cdd90589e4af24d965f4038c;hpb=096ccad2de573f503e177bb76164614337f92da3;p=debienna.git diff --git a/SebastianBachmann/Screenrc/index.mdwn b/SebastianBachmann/Screenrc/index.mdwn index bc0ef0f..b40ca7f 100644 --- a/SebastianBachmann/Screenrc/index.mdwn +++ b/SebastianBachmann/Screenrc/index.mdwn @@ -1,5 +1,6 @@ + .screenrc: -{{{ +[[!format txt """ backtick 1 0 10 /usr/bin/cpu-screen backtick 2 0 30 /usr/bin/ip-screen backtick 3 0 5 /usr/local/bin/bat_state.pyc @@ -10,7 +11,7 @@ screen -t top 0 nice top screen -t irssi 1 nice irssi screen 2 zsh # Local in META Screen by lefant -# screen -t localhost 1 screen -S local -d -RR +# screen -t localhost 1 screen -S local -d -RR # use %n to display the window number and %t for its title: activity "activity in %n (%t) [%w:%s]~" @@ -25,19 +26,19 @@ screen 2 zsh vbell_msg " *beep* " -defutf8 on -login off -deflogin off -startup_message off -vbell on +defutf8 on +login off +deflogin off +startup_message off +vbell on bell_msg 'Bell in %n' termcapinfo xterm*|linux*|rxvt*|Eterm* OP defscrollback 1000 #hardcopydir ~/.screen -hardcopy_append on -shell zsh +hardcopy_append on +shell zsh hardstatus alwayslastline #caption always "%{wk}%?%-Lw%?%{kW}%n*%f %t%?(%u)%?%{wk}%?%+Lw" @@ -57,11 +58,9 @@ sorendition 10 99 # default! bind G screen -t 'google' w3m www.google.com bind H screen -t HeiseTicker w3m www.heise.de/newsticker/pda/data/paket4.html bind X lockscreen -}}} - +"""]] /usr/local/bin/bat_info.py (compile with py_compilefiles) -{{{ - +[[!format txt """ import re import string @@ -77,10 +76,9 @@ aktuell = float(aktuell) design = float(design) full = float(full) print "%.2f | %.2f" %((100/(design/aktuell)), (100/(design/full))) -}}} - +"""]] /usr/local/bin/meminfo.py -{{{ +[[!format txt """ import re import string @@ -92,7 +90,5 @@ swapall = float(string.join(re.findall("[0-9]",mem[11]), ''))/1048576 swapfree = float(string.join(re.findall("[0-9]",mem[12]), ''))/1048576 print "%.2f/%.2f | %.2f/%.2f" %(free,all,swapfree,swapall) -}}} - - -Get your ip-screen and cpu-screen from GRML! \ No newline at end of file +"""]] +Get your ip-screen and cpu-screen from GRML!