From a78d89f749eae4e40db79d3725c5922651488072 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Eugenio Halili Date: Tue, 5 Jul 2022 22:32:16 +0800 Subject: [PATCH] Add byobu;related files, minus the ssh-agent symlink Signed-off-by: Andrei Jiroh Eugenio Halili --- config/byobu/.gitignore | 1 + config/byobu/.screenrc | 0 config/byobu/.tmux.conf | 2 + config/byobu/.welcome-displayed | 0 config/byobu/backend | 1 + config/byobu/color | 3 ++ config/byobu/color.tmux | 4 ++ config/byobu/datetime.tmux | 2 + config/byobu/keybindings | 1 + config/byobu/keybindings.tmux | 2 + config/byobu/profile | 1 + config/byobu/profile.tmux | 1 + config/byobu/prompt | 1 + config/byobu/status | 37 ++++++++++++++++ config/byobu/statusrc | 78 +++++++++++++++++++++++++++++++++ config/byobu/windows | 0 config/byobu/windows.tmux | 0 17 files changed, 134 insertions(+) create mode 100644 config/byobu/.gitignore create mode 100644 config/byobu/.screenrc create mode 100644 config/byobu/.tmux.conf create mode 100644 config/byobu/.welcome-displayed create mode 100644 config/byobu/backend create mode 100644 config/byobu/color create mode 100644 config/byobu/color.tmux create mode 100644 config/byobu/datetime.tmux create mode 100644 config/byobu/keybindings create mode 100644 config/byobu/keybindings.tmux create mode 100644 config/byobu/profile create mode 100644 config/byobu/profile.tmux create mode 100644 config/byobu/prompt create mode 100644 config/byobu/status create mode 100644 config/byobu/statusrc create mode 100644 config/byobu/windows create mode 100644 config/byobu/windows.tmux diff --git a/config/byobu/.gitignore b/config/byobu/.gitignore new file mode 100644 index 0000000..d88dacc --- /dev/null +++ b/config/byobu/.gitignore @@ -0,0 +1 @@ +.ssh-agent diff --git a/config/byobu/.screenrc b/config/byobu/.screenrc new file mode 100644 index 0000000..e69de29 diff --git a/config/byobu/.tmux.conf b/config/byobu/.tmux.conf new file mode 100644 index 0000000..b3f6309 --- /dev/null +++ b/config/byobu/.tmux.conf @@ -0,0 +1,2 @@ +# Source out our main tmux.conf file instead. +source-file ~/.tmux.conf diff --git a/config/byobu/.welcome-displayed b/config/byobu/.welcome-displayed new file mode 100644 index 0000000..e69de29 diff --git a/config/byobu/backend b/config/byobu/backend new file mode 100644 index 0000000..ac0eb76 --- /dev/null +++ b/config/byobu/backend @@ -0,0 +1 @@ +BYOBU_BACKEND=tmux diff --git a/config/byobu/color b/config/byobu/color new file mode 100644 index 0000000..1ee73ad --- /dev/null +++ b/config/byobu/color @@ -0,0 +1,3 @@ +BACKGROUND=k +FOREGROUND=w +MONOCHROME=0 \ No newline at end of file diff --git a/config/byobu/color.tmux b/config/byobu/color.tmux new file mode 100644 index 0000000..4f55dc7 --- /dev/null +++ b/config/byobu/color.tmux @@ -0,0 +1,4 @@ +BYOBU_DARK="\#333333" +BYOBU_LIGHT="\#EEEEEE" +BYOBU_ACCENT="\#75507B" +BYOBU_HIGHLIGHT="\#DD4814" diff --git a/config/byobu/datetime.tmux b/config/byobu/datetime.tmux new file mode 100644 index 0000000..7b888a7 --- /dev/null +++ b/config/byobu/datetime.tmux @@ -0,0 +1,2 @@ +BYOBU_DATE="%Y-%m-%d " +BYOBU_TIME="%H:%M:%S" diff --git a/config/byobu/keybindings b/config/byobu/keybindings new file mode 100644 index 0000000..9d9bbdb --- /dev/null +++ b/config/byobu/keybindings @@ -0,0 +1 @@ +source $BYOBU_PREFIX/share/byobu/keybindings/common diff --git a/config/byobu/keybindings.tmux b/config/byobu/keybindings.tmux new file mode 100644 index 0000000..0b75997 --- /dev/null +++ b/config/byobu/keybindings.tmux @@ -0,0 +1,2 @@ +set -g prefix2 F12 +unbind-key -n C-a diff --git a/config/byobu/profile b/config/byobu/profile new file mode 100644 index 0000000..230ac0e --- /dev/null +++ b/config/byobu/profile @@ -0,0 +1 @@ +source $BYOBU_PREFIX/share/byobu/profiles/common diff --git a/config/byobu/profile.tmux b/config/byobu/profile.tmux new file mode 100644 index 0000000..9ccca51 --- /dev/null +++ b/config/byobu/profile.tmux @@ -0,0 +1 @@ +source $BYOBU_PREFIX/share/byobu/profiles/tmux diff --git a/config/byobu/prompt b/config/byobu/prompt new file mode 100644 index 0000000..c0a7eeb --- /dev/null +++ b/config/byobu/prompt @@ -0,0 +1 @@ +[ -r /usr/share/byobu/profiles/bashrc ] && . /usr/share/byobu/profiles/bashrc #byobu-prompt# diff --git a/config/byobu/status b/config/byobu/status new file mode 100644 index 0000000..cec85f5 --- /dev/null +++ b/config/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 +# +# 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 . + +# 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 #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 #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 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 #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 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/config/byobu/statusrc b/config/byobu/statusrc new file mode 100644 index 0000000..472e45c --- /dev/null +++ b/config/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 +# +# 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 . + +# 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 diff --git a/config/byobu/windows b/config/byobu/windows new file mode 100644 index 0000000..e69de29 diff --git a/config/byobu/windows.tmux b/config/byobu/windows.tmux new file mode 100644 index 0000000..e69de29