forked from colonelpanic/dotfiles
Synergy tweaks.
This commit is contained in:
parent
388c21be63
commit
143056e728
@ -8,7 +8,7 @@ function make_me_synergy() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
test -z $(get_synergy_pids_for_ip $new_host_name) && synergyc $new_host_name
|
test -z "$(get_synergy_pids_for_ip $new_host_name)" && synergyc $new_host_name
|
||||||
}
|
}
|
||||||
|
|
||||||
function stop_synergy_at() {
|
function stop_synergy_at() {
|
||||||
@ -25,7 +25,6 @@ function clear_my_synergy() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function get_synergy_pids_for_ip() {
|
function get_synergy_pids_for_ip() {
|
||||||
echo $1
|
|
||||||
ps aux | grep synergyc | grep $1 | get_cols 2
|
ps aux | grep synergyc | grep $1 | get_cols 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user