diff --git a/templates/barrier/barrier.conf.j2 b/templates/barrier/barrier.conf.j2 index 7c96d69..6f07438 100644 --- a/templates/barrier/barrier.conf.j2 +++ b/templates/barrier/barrier.conf.j2 @@ -24,5 +24,10 @@ section: links end section: options + screenSaverSync = true clipboardSharing = true + keystroke(Alt+Control+Right) = switchInDirection(right) + keystroke(Control+Alt+Left) = switchInDirection(left) + keystroke(Alt+Control+Up) = switchInDirection(up) + keystroke(Control+Alt+Down) = switchInDirection(down) end diff --git a/templates/barrier/barriers.service.j2 b/templates/barrier/barriers.service.j2 index c2500e5..d9ba4d8 100644 --- a/templates/barrier/barriers.service.j2 +++ b/templates/barrier/barriers.service.j2 @@ -6,7 +6,7 @@ PartOf=graphical-session.target After=xsession-reload.service [Service] -ExecStart=barriers --no-daemon --enable-crypto --address :24800 --log %h/.local/share/barrier/barriers.log +ExecStart=barriers --no-daemon --enable-crypto --address [::1]:24800 --log %h/.local/share/barrier/barriers.log [Install] WantedBy=graphical-session.target