about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2018-08-20 19:10:29 -0400
committerBen Harris <ben@tilde.team>2018-08-20 19:10:37 -0400
commit3d4ecabfdcc2f00ce44b709560809d2913e2fe24 (patch)
tree071c9679842d9b536c0a951ec8c5943fbad571b3
parent4f3acdf59d3ca31888256b096273b20ca9444fc9 (diff)
add hostname to byobu status bar
-rwxr-xr-xbyobu/.byobu/status2
-rwxr-xr-xfish/.config/fish/config.fish7
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