Draft
Conversation
23afd93 to
e584a1d
Compare
9bd8fde to
c83cffc
Compare
Integers will be -1, use "all" for strings instead of NULL. This allows the options to reset all values to their defaults if desired. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Override previous options with latest one, even if they are less specific, e.g. --output all after a more specific one. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Look up the appropriate option and process output only once. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
The --desktop option will eventually be able to specify which virtual desktop has to be active for xwallpaper options to apply. In --daemon mode, this option will support virtual desktop switching, i.e. updating wallpapers for different desktops will be supported. This commit prepares the infrastructure to support --desktop. Co-authored-by: Fredrik Noring <noring@nocrew.org> Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Use XCB to retrieve virtual desktop and update screens accordingly. Co-authored-by: Fredrik Noring <noring@nocrew.org> Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
c83cffc to
ac72baf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on #55
If only one desktop is specified, e.g.
--desktop 2and you switch away from it, then wallpapers stay the way they are. If it's--desktop 2and--desktop 4and you switch from 2 to 4 to 3, 3 will have the desktop 4 wallpaper. If you switch from 2 to 3, it will have the desktop 2 wallpaper. The--clearoption fixes that. Probably worth a manual page entry.Otherwise, tested with multi-monitor setup.