diff options
Diffstat (limited to 'byobu')
-rw-r--r-- | byobu/.byobu/.screenrc | 0 | ||||
-rw-r--r-- | byobu/.byobu/.tmux.conf | 0 | ||||
-rw-r--r-- | byobu/.byobu/.welcome-displayed | 0 | ||||
-rw-r--r-- | byobu/.byobu/backend | 1 | ||||
-rwxr-xr-x | byobu/.byobu/bin/15_load.sh | 17 | ||||
-rwxr-xr-x | byobu/.byobu/bin/60_hddtemp.sh | 2 | ||||
-rwxr-xr-x | byobu/.byobu/bin/60_mail.sh | 7 | ||||
-rw-r--r-- | byobu/.byobu/color | 3 | ||||
-rw-r--r-- | byobu/.byobu/color.tmux | 5 | ||||
-rw-r--r-- | byobu/.byobu/datetime.tmux | 2 | ||||
-rw-r--r-- | byobu/.byobu/keybindings | 1 | ||||
-rw-r--r-- | byobu/.byobu/keybindings.tmux | 4 | ||||
-rw-r--r-- | byobu/.byobu/profile | 1 | ||||
-rw-r--r-- | byobu/.byobu/profile.tmux | 9 | ||||
-rw-r--r-- | byobu/.byobu/prompt | 1 | ||||
-rw-r--r-- | byobu/.byobu/reload-required | 0 | ||||
-rw-r--r-- | byobu/.byobu/status | 37 | ||||
-rw-r--r-- | byobu/.byobu/statusrc | 78 | ||||
-rw-r--r-- | byobu/.byobu/windows | 0 | ||||
-rw-r--r-- | byobu/.byobu/windows.tmux | 0 |
20 files changed, 168 insertions, 0 deletions
diff --git a/byobu/.byobu/.screenrc b/byobu/.byobu/.screenrc new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/byobu/.byobu/.screenrc diff --git a/byobu/.byobu/.tmux.conf b/byobu/.byobu/.tmux.conf new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/byobu/.byobu/.tmux.conf diff --git a/byobu/.byobu/.welcome-displayed b/byobu/.byobu/.welcome-displayed new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/byobu/.byobu/.welcome-displayed diff --git a/byobu/.byobu/backend b/byobu/.byobu/backend new file mode 100644 index 0000000..ac0eb76 --- /dev/null +++ b/byobu/.byobu/backend @@ -0,0 +1 @@ +BYOBU_BACKEND=tmux diff --git a/byobu/.byobu/bin/15_load.sh b/byobu/.byobu/bin/15_load.sh new file mode 100755 index 0000000..1168d1a --- /dev/null +++ b/byobu/.byobu/bin/15_load.sh @@ -0,0 +1,17 @@ +#!/bin/sh -e + +BLACK="\033[00m" +YELLOW="\033[1;33m" + +load=`cat /proc/loadavg | sed -e 's/ .*//'` +[ -n "$load" ] || return + +if [ $(echo "$load < 0.5" | bc) = 1 ] +then + return + printf "<0.5" +else + + printf "#[bg=#FFFF00]$load" + echo +fi diff --git a/byobu/.byobu/bin/60_hddtemp.sh b/byobu/.byobu/bin/60_hddtemp.sh new file mode 100755 index 0000000..7cb46f5 --- /dev/null +++ b/byobu/.byobu/bin/60_hddtemp.sh @@ -0,0 +1,2 @@ +#!/bin/sh +netcat 127.0.0.1 7634 | awk -F '|' '{ print $4" C"}' diff --git a/byobu/.byobu/bin/60_mail.sh b/byobu/.byobu/bin/60_mail.sh new file mode 100755 index 0000000..7ba67f2 --- /dev/null +++ b/byobu/.byobu/bin/60_mail.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ $(find Maildir/cur/ -ctime -1 -type f -not \( -name '*:2,*S*' \) | wc -l) -ne 0 ] +then + printf "#[bg=#FF0000]courriel" + echo +fi diff --git a/byobu/.byobu/color b/byobu/.byobu/color new file mode 100644 index 0000000..1ee73ad --- /dev/null +++ b/byobu/.byobu/color @@ -0,0 +1,3 @@ +BACKGROUND=k +FOREGROUND=w +MONOCHROME=0
\ No newline at end of file diff --git a/byobu/.byobu/color.tmux b/byobu/.byobu/color.tmux new file mode 100644 index 0000000..a1e60dd --- /dev/null +++ b/byobu/.byobu/color.tmux @@ -0,0 +1,5 @@ +BYOBU_DARK=black +BYOBU_LIGHT=white +BYOBU_ACCENT=magenta +BYOBU_HIGHLIGHT=red +MONOCHROME=0
\ No newline at end of file diff --git a/byobu/.byobu/datetime.tmux b/byobu/.byobu/datetime.tmux new file mode 100644 index 0000000..bbfdea0 --- /dev/null +++ b/byobu/.byobu/datetime.tmux @@ -0,0 +1,2 @@ +BYOBU_TIME= +BYOBU_DATE= diff --git a/byobu/.byobu/keybindings b/byobu/.byobu/keybindings new file mode 100644 index 0000000..9d9bbdb --- /dev/null +++ b/byobu/.byobu/keybindings @@ -0,0 +1 @@ +source $BYOBU_PREFIX/share/byobu/keybindings/common diff --git a/byobu/.byobu/keybindings.tmux b/byobu/.byobu/keybindings.tmux new file mode 100644 index 0000000..5136859 --- /dev/null +++ b/byobu/.byobu/keybindings.tmux @@ -0,0 +1,4 @@ +unbind-key -n C-a +set -g prefix ^A +set -g prefix2 ^A +bind a send-prefix diff --git a/byobu/.byobu/profile b/byobu/.byobu/profile new file mode 100644 index 0000000..230ac0e --- /dev/null +++ b/byobu/.byobu/profile @@ -0,0 +1 @@ +source $BYOBU_PREFIX/share/byobu/profiles/common diff --git a/byobu/.byobu/profile.tmux b/byobu/.byobu/profile.tmux new file mode 100644 index 0000000..549f760 --- /dev/null +++ b/byobu/.byobu/profile.tmux @@ -0,0 +1,9 @@ +source $BYOBU_PREFIX/share/byobu/profiles/tmux + +# Define the terminal to be 256 colors (override default value) +set -g default-terminal "screen-256color" + + +set-option -g set-titles on +set-option -g set-titles-string "#W(#h)" + diff --git a/byobu/.byobu/prompt b/byobu/.byobu/prompt new file mode 100644 index 0000000..c0a7eeb --- /dev/null +++ b/byobu/.byobu/prompt @@ -0,0 +1 @@ +[ -r /usr/share/byobu/profiles/bashrc ] && . /usr/share/byobu/profiles/bashrc #byobu-prompt# diff --git a/byobu/.byobu/reload-required b/byobu/.byobu/reload-required new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/byobu/.byobu/reload-required diff --git a/byobu/.byobu/status b/byobu/.byobu/status new file mode 100644 index 0000000..a93070a --- /dev/null +++ b/byobu/.byobu/status @@ -0,0 +1,37 @@ +# status - Byobu's default status enabled/disabled settings +# +# Override these in $BYOBU_CONFIG_DIR/status +# where BYOBU_CONFIG_DIR is XDG_CONFIG_HOME if defined, +# and $HOME/.byobu otherwise. +# +# Copyright (C) 2009-2011 Canonical Ltd. +# +# Authors: Dustin Kirkland <kirkland@byobu.co> +# +# 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/>. + +# Status beginning with '#' are disabled. + +# Screen has two status lines, with 4 quadrants for status +screen_upper_left="color" +screen_upper_right="color whoami hostname ip_address menu" +screen_lower_left="color logo distro release #arch" +screen_lower_right="color network #disk_io custom #entropy raid reboot_required updates_available #apport #services #mail users uptime #ec2_cost #rcs_cost #fan_speed #cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap #disk #time_utc date time" + +# Tmux has one status line, with 2 halves for status +tmux_left=" logo #distro #release #arch #session" +# You can have as many tmux right lines below here, and cycle through them using Shift-F5 +#tmux_right=" #network #disk_io custom #entropy #raid #reboot_required #updates_available #apport #services #mail #users #uptime #ec2_cost #rcs_cost #fan_speed #cpu_temp #battery #wifi_quality #processes #load_average #cpu_count #cpu_freq #memory #swap #disk #whoami #hostname #ip_address #time_utc #date #time" +tmux_right=" #network #disk_io custom #entropy #raid #reboot_required #updates_available #apport #services #mail #users #uptime #ec2_cost #rcs_cost #fan_speed #cpu_temp #battery #wifi_quality #processes #load_average #cpu_count #cpu_freq #memory #swap #disk #whoami #hostname #ip_address #time_utc #date #time" +#tmux_right="network #disk_io custom #entropy raid reboot_required updates_available #apport #services #mail users uptime #ec2_cost #rcs_cost #fan_speed #cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap #disk #whoami #hostname ip_address #time_utc date time" +#tmux_right="#network disk_io #custom entropy #raid #reboot_required #updates_available #apport #services #mail #users #uptime #ec2_cost #rcs_cost fan_speed cpu_temp #battery #wifi_quality #processes #load_average #cpu_count #cpu_freq #memory #swap whoami hostname ip_address #time_utc disk date time" diff --git a/byobu/.byobu/statusrc b/byobu/.byobu/statusrc new file mode 100644 index 0000000..048598a --- /dev/null +++ b/byobu/.byobu/statusrc @@ -0,0 +1,78 @@ +# statusrc - Byobu's default status configurations +# +# Override these in $BYOBU_CONFIG_DIR/statusrc +# where BYOBU_CONFIG_DIR is XDG_CONFIG_HOME if defined, +# and $HOME/.byobu otherwise. +# +# Copyright (C) 2009-2011 Canonical Ltd. +# +# Authors: Dustin Kirkland <kirkland@byobu.co> +# +# 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/>. + +# Configurations that you can override; if you leave these commented out, +# Byobu will try to auto-detect them. + +# This should be auto-detected for most distro, but setting it here will save +# some call to lsb_release and the like. +#DISTRO=Ubuntu + +# Default: depends on the distro (which is either auto-detected, either set +# via $DISTRO) +#LOGO="\o/" + +# Abbreviate the release to N characters +# By default, this is disabled. But if you set RELEASE_ABBREVIATED=1 +# and your lsb_release is "precise", only "p" will be displayed +#RELEASE_ABBREVIATED=1 + +# Default: / +#MONITORED_DISK=/ + +# Minimum disk throughput that triggers the notification (in kB/s) +# Default: 50 +#DISK_IO_THRESHOLD=50 + +# Default: eth0 +#MONITORED_NETWORK=eth0 + +# Unit used for network throughput (either bits per second or bytes per second) +# Default: bits +#NETWORK_UNITS=bytes + +# Minimum network throughput that triggers the notification (in kbit/s) +# Default: 20 +#NETWORK_THRESHOLD=20 + +# You can add an additional source of temperature here +#MONITORED_TEMP=/proc/acpi/thermal_zone/THM0/temperature + +# Default: C +#TEMP=F + +#SERVICES="eucalyptus-nc|NC eucalyptus-cloud|CLC eucalyptus-walrus eucalyptus-cc|CC eucalyptus-sc|SC" + +#FAN=$(find /sys -type f -name fan1_input | head -n1) + +# You can set this to 1 to report your external/public ip address +# Default: 0 +#IP_EXTERNAL=0 + +# The users notification normally counts ssh sessions; set this configuration to '1' +# to instead count number of distinct users logged onto the system +# Default: 0 +#USERS_DISTINCT=0 + +# Set this to zero to hide seconds int the time display +# Default 1 +#TIME_SECONDS=0 diff --git a/byobu/.byobu/windows b/byobu/.byobu/windows new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/byobu/.byobu/windows diff --git a/byobu/.byobu/windows.tmux b/byobu/.byobu/windows.tmux new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/byobu/.byobu/windows.tmux |