Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P Plasma Workspace
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 108
    • Merge requests 108
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • Plasma Workspace
  • Merge requests
  • !1325

Add an option to apply accent color from wallpaper

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Tanbir Jishan requested to merge tantalising/plasma-workspace:adaptive_accent_color into master Dec 30, 2021
  • Overview 249
  • Commits 5
  • Pipelines 93
  • Changes 15

This add an option to set accent color from wallpaper. The way it works is that it exposes some dbus calls. If a wallpaper plugin support wallpaper accent color then it should say so by this dbus call when starting up and also should say which wallpaper is being currently used(for the purpose of extracting color)/or set a accent color itself. After that it should keep declaring the wallpaper or set accent color whenever wallpaper changes or whenever the plugin author thinks it is appropriate to say so. There is already an implementation of color extracting algorithm which the plugin can use or if they don't like it, then they can set whatever accent color acquired by whatever mean. I have already done the necessary dbus calls for the official image and wallpaper plugin. So they should work out of the box.

adaptive_accent_color.mkv

Requires frameworks/plasma-framework!449 (merged) and plasma-desktop!774 (merged)

BUG: 444676 FIXED-IN: 5.25

Edited Apr 22, 2022 by Fushan Wen
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: adaptive_accent_color