[GH-ISSUE #1167] Triggering custom script on switch #938

Open
opened 2026-05-05 07:18:36 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @hanvari on GitHub (May 21, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1167

I am using barrier two switch between a MacBook and a Ubuntu machine, and it works seamless.
However, I only use a single monitor and I need to switch inputs (e.g. from usb-c to HDML and reverse) every time that I move mouse to another screen.

Is there any meaningful way to define triggers to running a custom command when barrier switches between computers? That way I could run the command using another utility to switch the monitor input.

Originally created by @hanvari on GitHub (May 21, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1167 I am using barrier two switch between a MacBook and a Ubuntu machine, and it works seamless. However, I only use a single monitor and I need to switch inputs (e.g. from usb-c to HDML and reverse) every time that I move mouse to another screen. Is there any meaningful way to define triggers to running a custom command when barrier switches between computers? That way I could run the command using another utility to switch the monitor input.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#938
No description provided.