###############################################################################
#    Screen common profile
#      This configuration profile is intended to be a common header of useful
#      functionality, included by other profiles.
#
#    Copyright (C) 2008 Canonical Ltd.
#
#    Authors: Dustin Kirkland <kirkland@canonical.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
#    the Free Software Foundation, version 3 of the License.
#
#    This program 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 program.  If not, see <http://www.gnu.org/licenses/>.
###############################################################################

# Now, let's override with our customizations
startup_message off
vbell off
msgwait 1

# Define status commands
backtick 99  86400 86400 byobu-status logo
backtick 100 3600 3600 byobu-status release
backtick 101 10 10 byobu-status updates-available
backtick 102 2 2 byobu-status reboot-required
backtick 103 2 2 byobu-status cpu-freq
backtick 104 86400 86400 byobu-status cpu-count
backtick 105 86400 86400 byobu-status mem-available
backtick 106 2 2 byobu-status load-average
backtick 107 2 2 byobu-status mem-used
backtick 108 600 600 byobu-status ec2-cost
backtick 109 3600 3600 byobu-status hostname
backtick 110 86400 86400 byobu-status whoami
backtick 111 86400 86400 byobu-status menu
backtick 112 86400 86400 byobu-status arch
backtick 113 30 30 byobu-status battery
backtick 114 10 10 byobu-status users
backtick 115 60 60 byobu-status uptime
backtick 116 2 2 byobu-status processes
backtick 117 2 2 byobu-status network-up
backtick 118 2 2 byobu-status network-down
backtick 119 2 2 byobu-status wifi-quality
backtick 120 86400 86400 byobu-status date
backtick 121 86400 86400 byobu-status time
backtick 122 3600 3600 byobu-status ip-address
backtick 123 86400 86400 byobu-status disk-available
backtick 124 2 2 byobu-status disk-used
backtick 125 30 30 byobu-status temp-c
backtick 126 30 30 byobu-status temp-f

hardstatus alwayslastline

# Turns off alternate screen switching in xterms,
# so that text in screen will go into the xterm's scrollback buffer:
termcapinfo xterm* ti@:te@
altscreen on

# Log 10000 lines
defscrollback 10000

source $HOME/.byobu/keybindings
