###############################################################################
#    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 screen-profiles-status logo
backtick 100 3600 3600 screen-profiles-status release
backtick 101 10 10 screen-profiles-status updates-available
backtick 102 2 2 screen-profiles-status reboot-required
backtick 103 2 2 screen-profiles-status cpu-freq
backtick 104 86400 86400 screen-profiles-status cpu-count
backtick 105 86400 86400 screen-profiles-status mem-available
backtick 106 2 2 screen-profiles-status load-average
backtick 107 2 2 screen-profiles-status mem-used
backtick 108 600 600 screen-profiles-status ec2-cost
backtick 109 3600 3600 screen-profiles-status hostname
backtick 110 86400 86400 screen-profiles-status whoami
backtick 111 86400 86400 screen-profiles-status menu
backtick 112 86400 86400 screen-profiles-status arch
backtick 113 30 30 screen-profiles-status battery
backtick 114 10 10 screen-profiles-status users
backtick 115 60 60 screen-profiles-status uptime
backtick 116 2 2 screen-profiles-status processes
backtick 117 2 2 screen-profiles-status network-up
backtick 118 2 2 screen-profiles-status network-down
backtick 119 2 2 screen-profiles-status wifi-quality

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/.screen-profiles/keybindings
source $HOME/.screen-profiles/windows
