forked from colonelpanic/dotfiles
Tweak synergy definitions
This commit is contained in:
parent
44b441f2c1
commit
311e20dfeb
@ -1,7 +1,7 @@
|
|||||||
SYNERGY_CONF="$HOME/.synergy.conf"
|
SYNERGY_CONF="$HOME/.synergy.conf"
|
||||||
|
|
||||||
synergy_start_client_at() {
|
synergy_start_client_at() {
|
||||||
ssh "$1" "source ~/.zshrc && synergyc $(localip)"
|
ssh "$1" "synergyc $(localip) && pgrep synergyc"
|
||||||
}
|
}
|
||||||
|
|
||||||
synergy_start_server_here() {
|
synergy_start_server_here() {
|
||||||
@ -30,7 +30,7 @@ synergy_use_ssh_connection_as_server() {
|
|||||||
|
|
||||||
synergy_stop_at() {
|
synergy_stop_at() {
|
||||||
pgrep synergys | xargs kill -9
|
pgrep synergys | xargs kill -9
|
||||||
ssh "$1" "clear_my_synergy"
|
ssh "$1" "synergy_kill_all_local"
|
||||||
}
|
}
|
||||||
|
|
||||||
synergy_kill_all_local() {
|
synergy_kill_all_local() {
|
||||||
|
Loading…
Reference in New Issue
Block a user