add network-*, fix header

This commit is contained in:
Dustin Kirkland 2009-04-06 11:54:41 -07:00
commit 4e6a5a13be

View file

@ -1,10 +1,9 @@
#!/bin/sh -e
#
# select-screen-profile
# screen-profiles-status
# Copyright (C) 2008 Canonical Ltd.
#
# Authors: Dustin Kirkland <kirkland@canonical.com>
# Nick Barcet <nick.barcet@ubuntu.com>
#
# 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
;;
*)