X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=prof;h=e4d77d6491594fe4b3ba16ee4de29a99dc406624;hb=51c8b40fd2aac71d29dc9298ca65425725ad1edd;hp=cb951d21d457b664cc4a03b797b53a923e788cf7;hpb=768363d8771edb9d9ed82425fa772d77b90139c0;p=distro-setup diff --git a/prof b/prof old mode 100755 new mode 100644 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