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

feat: accent color support for the progress bar #34

Merged
merged 9 commits into from
Dec 13, 2024

Conversation

tulilirockz
Copy link
Contributor

Depends: #33

Adds the BLINGEST bling you've ever seen. WITH fallbacks, so it should be completely fine!

@tulilirockz
Copy link
Contributor Author

image

lib/percentmanager.go Outdated Show resolved Hide resolved
@tulilirockz tulilirockz force-pushed the accent-color branch 3 times, most recently from a5a2009 to b2e9c49 Compare December 8, 2024 18:30
lib/colorpicker.go Outdated Show resolved Hide resolved
@tulilirockz
Copy link
Contributor Author

Everything should be rebased now, I believe you can just merge this one and BAM its all merged at once. - We should just close the other issues and thats it

@@ -107,12 +67,27 @@ func NewProgressWriter() progress.Writer {
}

if targetUser != 0 {
cli := []string{"gsettings", "get", "org.gnome.desktop.interface", "accent-color"}
cli := []string{"busctl", "--user", "--json=short", "call", "org.freedesktop.portal.Desktop", "/org/freedesktop/portal/desktop", "org.freedesktop.portal.Settings", "ReadOne", "ss", "org.freedesktop.appearance", "accent-color"}
out, err := RunUID(targetUser, cli, nil)
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should check the error of the cmd before unmarshalling no? Either way it works but I might just check the error here to be sure. Better safe than sorry

@gerblesh gerblesh merged commit 594a200 into ublue-os:main Dec 13, 2024
1 check passed
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