add hostname to byobu status bar

This commit is contained in:
Ben Harris 2018-08-20 19:10:29 -04:00
parent 4f3acdf59d
commit 3d4ecabfdc
2 changed files with 7 additions and 2 deletions

View File

@ -31,7 +31,7 @@ screen_lower_right="color network #disk_io custom #entropy raid reboot_required
# 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 #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"

View File

@ -22,7 +22,12 @@ for path in $user_paths
end
set -x SSH_AGENT_PID ""
set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
if test -S $HOME/.gnupg/S.gpg-agent
set -x SSH_AUTH_SOCK $HOME/.gnupg/S.gpg-agent
set -x GPG_SOCK $HOME/.gnupg/S.gpg-agent
else
set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
end
set -x BBJ_USER $USER