From 3d4ecabfdcc2f00ce44b709560809d2913e2fe24 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 20 Aug 2018 19:10:29 -0400 Subject: [PATCH] add hostname to byobu status bar --- byobu/.byobu/status | 2 +- fish/.config/fish/config.fish | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/byobu/.byobu/status b/byobu/.byobu/status index fbaaaca..8c49c4e 100755 --- a/byobu/.byobu/status +++ b/byobu/.byobu/status @@ -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" diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 1f60d32..5414169 100755 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -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