iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
#!/bin/bash
-set -e; . /usr/local/lib/
er
r; set +e
+set -e; . /usr/local/lib/
bash-bea
r; set +e
dossh=true
if (( $# >= 1 )); then
remote=$1
else
remote=b8.nz
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
dossh=false
fi
fi
@@
-19,5
+19,6
@@
if $dossh; then
export IANK_BASHRC_RUN="prof-remote $remote"
konsole --profile profanity
else
export IANK_BASHRC_RUN="prof-remote $remote"
konsole --profile profanity
else
+ prof-tail | prof-notify &
konsole --profile profanity -e screen -RD -S profanity
fi
konsole --profile profanity -e screen -RD -S profanity
fi