From 303dc52607bb0bb80e9e78a446960c1ecf30f89b Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Sun, 11 Dec 2022 09:42:00 -0800 Subject: [PATCH] Small changes --- bin/shh | 7 ++++--- etc/cleantmp.conf | 1 + rc/sshconfig | 18 +++++++++--------- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/bin/shh b/bin/shh index 7e82eba..c5df1ed 100755 --- a/bin/shh +++ b/bin/shh @@ -1,5 +1,4 @@ #!/bin/bash -timeout=5000 # 5 seconds touchfile=/opt/clearscm/data/shh # This just toggles the creation of the /opt/clearscm/bin/shh file @@ -8,9 +7,11 @@ if [ -f $touchfile ]; then cp ~/.icons/ShhOff.png ~/.icons/Shh.png else # Stop currently playing audio - killall play + killall play 2> /dev/null # Stop any Google TTS - kill -9 $(cat /tmp/simple_google_tts.pid) + if [ -f /tmp/simple_google_tts.pid ]; then + kill -9 $(cat /tmp/simple_google_tts.pid) + fi # Clean up tmp rm -rf /tmp/simple_google_tts.* # Touch shh file diff --git a/etc/cleantmp.conf b/etc/cleantmp.conf index cc8ef9f..62d42f4 100644 --- a/etc/cleantmp.conf +++ b/etc/cleantmp.conf @@ -42,3 +42,4 @@ qtsingleapp-zoom* dbus-* scoped_* appInsights* +dock-replace.log diff --git a/rc/sshconfig b/rc/sshconfig index 51e3acb..a8c3b8c 100644 --- a/rc/sshconfig +++ b/rc/sshconfig @@ -1,7 +1,7 @@ StrictHostKeyChecking no LogLevel ERROR -Host mars earth home defaria.com sandboxu sandboxal +Host sandbox sandboxu sandboxal mars earth home defaria.com ForwardX11 yes ForwardX11Trusted yes @@ -20,17 +20,17 @@ Host home User andrew IdentityFile ~/.ssh/id_ecdsa -Host sandbox - HostName 10.2.99.60 +#Host sandbox +# HostName 10.2.99.60 -Host sandboxu - HostName 10.2.98.185 +#Host sandboxu +# HostName 10.2.98.185 -Host sandboxal - HostName sandboxal +#Host sandboxal +# HostName sandboxal -Host sandboxal2 - HostName sandboxal2 +#Host sandboxal2 +# HostName sandboxal2 Host 10.2.* sandbox* ForwardAgent yes -- 2.17.1