add byobu and welcome mail

This commit is contained in:
Ben Harris 2018-08-24 13:06:07 -04:00
parent a953393a1b
commit aa90f40220
18 changed files with 195 additions and 0 deletions

View File

0
.byobu/.screenrc Normal file
View File

5
.byobu/.tmux.conf Normal file
View File

@ -0,0 +1,5 @@
new -s tilde -n chat 'firejail weechat-curses';
neww -n mail 'firejail mutt';
neww -n shell;
send-keys -t ":2" byobu-info Enter;

1
.byobu/backend Normal file
View File

@ -0,0 +1 @@
BYOBU_BACKEND=tmux

3
.byobu/color Normal file
View File

@ -0,0 +1,3 @@
BACKGROUND=k
FOREGROUND=w
MONOCHROME=0

4
.byobu/color.tmux Normal file
View File

@ -0,0 +1,4 @@
BYOBU_DARK="\#333333"
BYOBU_LIGHT="\#EEEEEE"
BYOBU_ACCENT="\#75507B"
BYOBU_HIGHLIGHT="\#DD4814"

2
.byobu/datetime.tmux Normal file
View File

@ -0,0 +1,2 @@
BYOBU_DATE="%Y-%m-%d "
BYOBU_TIME="%H:%M:%S"

1
.byobu/keybindings Normal file
View File

@ -0,0 +1 @@
source $BYOBU_PREFIX/share/byobu/keybindings/common

4
.byobu/keybindings.tmux Normal file
View File

@ -0,0 +1,4 @@
unbind-key -n C-a
set -g prefix ^A
set -g prefix2 F12
bind a send-prefix

1
.byobu/profile Normal file
View File

@ -0,0 +1 @@
source $BYOBU_PREFIX/share/byobu/profiles/common

1
.byobu/profile.tmux Normal file
View File

@ -0,0 +1 @@
source $BYOBU_PREFIX/share/byobu/profiles/tmux

3
.byobu/prompt Normal file
View File

@ -0,0 +1,3 @@
[ -r /usr/share/byobu/profiles/bashrc ] && . /usr/share/byobu/profiles/bashrc #byobu-prompt#
byobu-info

37
.byobu/status Normal file
View File

@ -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.org>
#
# 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 session"
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"

78
.byobu/statusrc Normal file
View File

@ -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.org>
#
# 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.
#BYOBU_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

0
.byobu/windows Normal file
View File

1
.byobu/windows.tmux Normal file
View File

@ -0,0 +1 @@
attach;

View File

@ -25,3 +25,6 @@ fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true

View File

@ -0,0 +1,51 @@
Received: by mail.tilde.team (Postfix, from userid 1000)
id 9AD9FBA022F; Thu, 23 Aug 2018 02:17:28 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail;
t=1535005048; bh=S5WXK9T/CeFCjB8PRLvtD1LL6FLg0nwAvQ026cayZiQ=;
h=Date:From:To:Subject:From;
b=AVR2lN3zEj1xn/545p1gCvwEa8cz5UALEn/ColnXLmP12a8zXPDP3VH3GMMkCf5zW
ybOhycyw1OwDwvH5u5lMDZfnyk+Yrk0dF9vAUYAfCkuL8L7DKKHfP+nAtAnV04LiJh
BzFTiGLyXZaPMLRWs/2rgpI1ItuKO4AUjaFcbkn4=
Date: Thu, 23 Aug 2018 02:17:28 -0400
From: root@tilde.team
To: newuser <newuser@tilde.team>
Subject: welcome! press enter to read me!
Message-ID: <20180823061728.GA11176@tilde.team>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.9.4 (2018-02-28)
hey!,
welcome to tilde.team!
you made it! we've set you up with a 'byobu' session with the
following default tabs:
- weechat for irc
- mutt for email
- a shell
if you're reading this, you're in the mutt pane. have a look
at the status bar at the bottom. the current windows are shown
in the bottom left, with several system status symbols on the right.
some of the most important keybinds are:
- f2: open a new window/tab
- f3/f4: prev/next windows
- f6: disconnect from you byobu session
press shift-f1 to see a more complete list of keybinds,
but these will get you wherever you need to go.
if you need help, switch to the first window and ask in irc.
also, if you know what you're doing and would rather use a different
terminal multiplexer, run byobu-disable to prevent it from launching on login.
we look forward to seeing you around! welcome to the ~team!
~tilde.team admins