Synergy tweaks

Make meta key actually work by settingl alt = meta for controlling
device. Make synergy_start_client_at idempotent.
This commit is contained in:
Ivan Malison 2016-08-16 16:00:07 -07:00
parent e2c5cd6033
commit 3916889ff5
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
SYNERGY_CONF="$HOME/.synergy.conf"
synergy_start_client_at() {
ssh "$1" "synergyc $(localip) && pgrep synergyc"
ssh "$1" 'test -z $(pgrep synergyc) || synergyc '"$(localip)"'; ps aux | grep synergyc'
}
synergy_start_server_here() {

View File

@ -1,7 +1,7 @@
section: screens
tv:
alt = meta
controlling:
alt = meta
end
section: links
tv: