]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - screenrc.in
screenrc,setup.sh: Store temporary files in ~/.tmp/.
[config/dotfiles.git] / screenrc.in
index 37d61da70fcff39640bcab3ee8a84d53a943f173..e495774ec453ab094c5808549283dfea14270c46 100644 (file)
@@ -3,7 +3,28 @@
 # Features which are only available in (very) recent screen releases or in
 # current Git are marked with "(GIT)" so they can be removed by the setup
 # script on machines with older versions.
+#
+# (BATTERY) is only used on laptops, (ROOT) only if running as root.
+
+# Copyright (C) 2011-2012  Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
 
+# Automatically lock the screen after 10 minutes of inactivity if running as
+# root.
+idle 600 lockscreen # (ROOT)
 
 # Don't display startup message.
 startup_message off
@@ -105,4 +126,4 @@ bind ; command -c window
 
 # Run urlview on current screen content. Very useful to follow links. Make
 # sure hardcopy_append is off before using this command.
-bind ^B eval "hardcopy $HOME/.screen-urlview" "screen urlview $HOME/.screen-urlview"
+bind ^B eval "hardcopy $HOME/.tmp/screen-urlview" "screen urlview $HOME/.tmp/screen-urlview"