weechat: update config path
This commit is contained in:
parent
70d82f82a9
commit
20be98e020
|
@ -16,15 +16,15 @@ esac
|
||||||
# If this exists, it's already configured
|
# If this exists, it's already configured
|
||||||
[[ -f ~/.weechat/sec.conf ]] && exit
|
[[ -f ~/.weechat/sec.conf ]] && exit
|
||||||
|
|
||||||
if [[ -f ~/.secrets/irc.conf ]]; then
|
if [[ -f ~/.private/config/irc.conf ]]; then
|
||||||
# ...otherwise, configure it!
|
# ...otherwise, configure it!
|
||||||
CWD=$(cd $(dirname $0) && pwd -P)
|
CWD=$(cd $(dirname $0) && pwd -P)
|
||||||
weechat -r "/set plugins.var.fifo.fifo on'" &
|
weechat -r "/set plugins.var.fifo.fifo on'" &
|
||||||
PID=$?
|
PID=$?
|
||||||
|
|
||||||
while ! pgrep weechat >/dev/null; do sleep 1; done
|
while ! pgrep weechat >/dev/null; do sleep 1; done
|
||||||
wee "$HOME/.secrets/irc.conf"
|
wee "$HOME/.private/config/irc.conf"
|
||||||
wee "$CWD/setting.txt"
|
wee "$CWD/settings.txt"
|
||||||
wee "$CWD/servers.txt"
|
wee "$CWD/servers.txt"
|
||||||
kill $PID
|
kill $PID
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue