[synergy] Handle localip multiple local ip addresses
This commit is contained in:
parent
b638b5c060
commit
868d8c7eb3
@ -1,7 +1,7 @@
|
|||||||
SYNERGY_CONF="$HOME/.synergy.conf"
|
SYNERGY_CONF="$HOME/.synergy.conf"
|
||||||
|
|
||||||
synergy_start_client_at() {
|
synergy_start_client_at() {
|
||||||
ssh "$1" '[[ -z "$(pgrep synergyc)" ]] && synergyc '"$(localip)"
|
ssh "$1" '[[ -z "$(pgrep synergyc)" ]] && synergyc '"$(localip | get_cols 1)"
|
||||||
}
|
}
|
||||||
|
|
||||||
synergy_start_server_here() {
|
synergy_start_server_here() {
|
||||||
|
Loading…
Reference in New Issue
Block a user