From 4e6a5a13be7bdb351d8f3b2ab8be1695bf4040f7 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Mon, 6 Apr 2009 11:54:41 -0700 Subject: [PATCH] add network-*, fix header --- screen-profiles-status | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/screen-profiles-status b/screen-profiles-status index 29ac2ce7..dbb6113c 100755 --- a/screen-profiles-status +++ b/screen-profiles-status @@ -1,10 +1,9 @@ #!/bin/sh -e # -# select-screen-profile +# screen-profiles-status # Copyright (C) 2008 Canonical Ltd. # # Authors: Dustin Kirkland -# Nick Barcet # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -31,7 +30,7 @@ case "$P" in grep -qs "^$P=0$" "$HOME/.screen-profiles/status" && exit 0 ;; # default = off, user must override to turn on - arch|battery|ec2-cost|hostname|processes|uptime|users|whoami) + arch|battery|ec2-cost|hostname|network-down|network-up|processes|uptime|users|whoami) grep -qs "^$P=1$" "$HOME/.screen-profiles/status" || exit 0 ;; *)