Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add single-output-sway helper script #200

Merged
merged 1 commit into from
Dec 26, 2022

Conversation

lack
Copy link
Collaborator

@lack lack commented Dec 14, 2022

I have read and understood CONTRIBUTING.md and its associated documents.

examples/single-output-sway Outdated Show resolved Hide resolved
examples/single-output-sway Outdated Show resolved Hide resolved
@lack lack force-pushed the single-output-sway-helper branch from 68b9e5b to f925146 Compare December 15, 2022 10:40
@lack lack mentioned this pull request Dec 15, 2022
Copy link
Owner

@any1 any1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lack lack force-pushed the single-output-sway-helper branch from f925146 to cda4a48 Compare December 16, 2022 04:15
@lack
Copy link
Collaborator Author

lack commented Dec 16, 2022

Thanks!

I will try to test it on sway 1.8 first before merging.

@lack lack force-pushed the single-output-sway-helper branch from cda4a48 to ac3cf70 Compare December 16, 2022 20:24
@lack
Copy link
Collaborator Author

lack commented Dec 18, 2022

Don't merge yet; more testing needed

@lack lack force-pushed the single-output-sway-helper branch 3 times, most recently from 2c6a23f to 63eff03 Compare December 23, 2022 11:39
For sway 1.7, this disables all but one output on connect, then restores
everything on disconnect.

For sway 1.8 and later, creates a virtual HEADLESS output, disables all
others, then restores everything on disconnect.

Signed-off-by: Jim Ramsay <[email protected]>
@lack lack force-pushed the single-output-sway-helper branch from 63eff03 to b189682 Compare December 26, 2022 02:42
@lack lack merged commit 72cc040 into any1:master Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants