Got too trigger happy with the deleting when I fixed the username stuff. Should be back to working now.
This commit is contained in:
@@ -138,11 +138,8 @@ connect() {
|
|||||||
local username
|
local username
|
||||||
username="$(grep -m 1 '^Username = ' ~/.barnard.toml 2> /dev/null | cut -d '=' -f2- | sed "s/^[[:space:]]*//;s/[[:space:]]*$//;s/'//g")"
|
username="$(grep -m 1 '^Username = ' ~/.barnard.toml 2> /dev/null | cut -d '=' -f2- | sed "s/^[[:space:]]*//;s/[[:space:]]*$//;s/'//g")"
|
||||||
username="${username//[[:space:]]/_}"
|
username="${username//[[:space:]]/_}"
|
||||||
if [[ -n "$username" ]]; then
|
username="${username:-${USER}-${HOSTNAME}}"
|
||||||
command barnard -username "$username" -server ${mumbleServerList[$serverName]} --fifo ~/.config/barnard/cmd --buffers 16 |& log
|
command barnard -username "$username" -server ${mumbleServerList[$serverName]} --fifo ~/.config/barnard/cmd --buffers 16 |& log
|
||||||
else
|
|
||||||
command barnard -server ${mumbleServerList[$serverName]} --fifo ~/.config/barnard/cmd --buffers 16 |& log
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
remove-server() {
|
remove-server() {
|
||||||
|
|||||||
Reference in New Issue
Block a user