]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - screenrc.in
screenrc: Disable auto-lock.
[config/dotfiles.git] / screenrc.in
index 41b9022811a37c71ea513ca2b48ebc866bb7dc94..20ae3b5c6b09cdab79e470b7f90a8c38369b9f33 100644 (file)
@@ -24,7 +24,7 @@
 
 # Automatically lock the screen after 10 minutes of inactivity if running as
 # root.
-idle 600 lockscreen # (ROOT)
+#idle 600 lockscreen # handled by setup script
 
 # Don't display startup message.
 startup_message off
@@ -66,7 +66,9 @@ 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)
+# Display current temperature if running on a laptop. Redisplay every minute.
+backtick 2 60 60 $HOME/.shell/bin/temperature.pl -s TEMPERATURE # (TEMPERATURE)
 
 # 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
@@ -92,6 +94,8 @@ setenv s "$s%="  # - right align the following text
 setenv s "$s%l"  # - load average
 setenv s "$s "   # - space
 setenv s "$s%H"  # - hostname
+setenv s "$s "   # - space          (TEMPERATURE)
+setenv s "$s%2`" # - temperature    (TEMPERATURE)
 setenv s "$s "   # - space          (BATTERY)
 setenv s "$s%1`" # - battery status (BATTERY)
 hardstatus alwayslastline "$s"
@@ -129,7 +133,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