]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - screenrc.in
bin/battery.pl,setup.sh: Support different battery devices names.
[config/dotfiles.git] / screenrc.in
index 08aa55b4505abd0ec84253579a2a0b5b120cbd78..e79065e37d0fc91de027c863eca44c2566959e49 100644 (file)
@@ -33,7 +33,7 @@ startup_message off
 vbell on
 
 # Increase the scrollback buffer.
-defscrollback 10000
+defscrollback 50000
 
 # Ignore case when searching.
 ignorecase on
@@ -42,6 +42,11 @@ ignorecase on
 # available.
 shell zsh
 
+# Don't "login" windows (= add them to the utmp database) by default. Not
+# useful for me and the "$" flag clutters the window flags (displayed with
+# %Lw).
+deflogin off
+
 
 # TERMINAL
 
@@ -61,7 +66,7 @@ sorendition = Bw
 
 # Display current battery charge if running on a laptop. Redisplay every 3
 # minutes.
-backtick 1 180 180 $HOME/.shell/bin/battery.pl -s # (BATTERY)
+backtick 1 180 180 $HOME/.shell/bin/battery.pl -s BATTERY # (BATTERY)
 
 # Make sure the temporary variable we use is empty. Thanks to
 # http://gist.github.com/133000 for the idea to use setenv and to TauPan in
@@ -82,7 +87,7 @@ setenv s "$s%t"      # - window name
 caption always "$s"
 unsetenv s
 # Always display the status line with open windows and the hostname.
-setenv s "$s%w"  # - number and names of windows
+setenv s "$s%Lw" # - number and names of windows, L displays window flags
 setenv s "$s%="  # - right align the following text
 setenv s "$s%l"  # - load average
 setenv s "$s "   # - space
@@ -124,7 +129,8 @@ bind -c window 6 select 16
 bind -c window 7 select 17
 bind -c window 8 select 18
 bind -c window 9 select 19
-# And to windows 20-29.
+# And bindings for windows 20 to 29 with e.g. ;;1. Thanks to Kays in #irssi on
+# Freenode (2012-10-18 16:25 CEST) for the suggestion to use ;;.
 bind -c window ; command -c window2
 bind -c window2 0 select 20
 bind -c window2 1 select 21