rename err to bash-bear
[distro-setup] / prof
diff --git a/prof b/prof
old mode 100755 (executable)
new mode 100644 (file)
index cb951d2..e4d77d6
--- a/prof
+++ b/prof
@@ -1,14 +1,14 @@
 #!/bin/bash
 
 
-set -e; . /usr/local/lib/err; set +e
+set -e; . /usr/local/lib/bash-bear; set +e
 
 dossh=true
 if (( $# >= 1 )); then
   remote=$1
 else
   remote=b8.nz
-  if systemctl --quiet is-active profanity || [[ $HOSTNAME == kd ]]; then
+  if systemctl --user --quiet is-active profanity || [[ $HOSTNAME == kd ]]; then
     dossh=false
   fi
 fi
@@ -19,5 +19,6 @@ if $dossh; then
   export IANK_BASHRC_RUN="prof-remote $remote"
   konsole --profile profanity
 else
+  prof-tail | prof-notify &
   konsole --profile profanity -e screen -RD -S profanity
 fi