1
###############################################################################
2
# Screen common profile
3
# This configuration profile is intended to be a common header of useful
4
# functionality, included by other profiles.
6
# Copyright (C) 2008 Canonical Ltd.
8
# Authors: Dustin Kirkland <kirkland@canonical.com>
10
# This program is free software: you can redistribute it and/or modify
11
# it under the terms of the GNU General Public License as published by
12
# the Free Software Foundation, version 3 of the License.
14
# This program is distributed in the hope that it will be useful,
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
# GNU General Public License for more details.
19
# You should have received a copy of the GNU General Public License
20
# along with this program. If not, see <http://www.gnu.org/licenses/>.
21
###############################################################################
23
# Now, let's override with our customizations
29
# Define status commands
30
# Use prime number intervals, to decrease collisions, which
31
# yields some less expensive status updates.
36
backtick 10 86389 86389 byobu-janitor
37
backtick 11 86399 86399 printf "\005-1="
38
backtick 99 86011 86011 byobu-status logo
39
backtick 100 599 599 byobu-status release
40
backtick 101 7 7 byobu-status updates_available
41
backtick 102 5 5 byobu-status reboot_required
42
backtick 103 2 2 byobu-status cpu_freq
43
backtick 104 86017 86017 byobu-status cpu_count
44
backtick 105 86027 86027 byobu-status mem_available
45
backtick 106 2 2 byobu-status load_average
46
backtick 107 13 13 byobu-status mem_used
47
backtick 108 601 601 byobu-status ec2_cost
48
backtick 109 607 607 byobu-status hostname
49
backtick 110 86029 86029 byobu-status whoami
50
backtick 111 86069 86069 byobu-status menu
51
backtick 112 86077 86077 byobu-status arch
52
backtick 113 61 61 byobu-status battery
53
backtick 114 11 11 byobu-status users
54
backtick 115 29 29 byobu-status uptime
55
backtick 116 7 7 byobu-status processes
56
backtick 117 3 3 byobu-status network
57
backtick 118 86083 86083 true
58
backtick 119 17 17 byobu-status wifi_quality
59
backtick 120 86111 86111 byobu-status date
60
backtick 121 86113 86113 byobu-status time
61
backtick 122 127 127 byobu-status ip_address
62
backtick 123 13 13 byobu-status disk
63
backtick 124 86117 86117 true
64
backtick 125 19 19 byobu-status temp_c
65
backtick 126 19 19 byobu-status temp_f
66
backtick 127 5 5 byobu-status mail
67
backtick 128 23 23 byobu-status fan_speed
69
hardstatus alwayslastline
71
# Turns off alternate screen switching in xterms,
72
# so that text in screen will go into the xterm's scrollback buffer:
73
termcapinfo xterm* ti@:te@
76
# Enable 256 color terminal
78
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
84
# Maintain SSH_AUTH_SOCK link
85
setenv SSH_AUTH_SOCK /var/run/screen/S-$USER/byobu.ssh-agent
87
source $HOME/.byobu/keybindings