mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
add network-*, fix header
This commit is contained in:
parent
8f5a2ce067
commit
4e6a5a13be
1 changed files with 2 additions and 3 deletions
|
@ -1,10 +1,9 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
#
|
#
|
||||||
# select-screen-profile
|
# screen-profiles-status
|
||||||
# Copyright (C) 2008 Canonical Ltd.
|
# Copyright (C) 2008 Canonical Ltd.
|
||||||
#
|
#
|
||||||
# Authors: Dustin Kirkland <kirkland@canonical.com>
|
# Authors: Dustin Kirkland <kirkland@canonical.com>
|
||||||
# Nick Barcet <nick.barcet@ubuntu.com>
|
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# 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
|
grep -qs "^$P=0$" "$HOME/.screen-profiles/status" && exit 0
|
||||||
;;
|
;;
|
||||||
# default = off, user must override to turn on
|
# 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
|
grep -qs "^$P=1$" "$HOME/.screen-profiles/status" || exit 0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue