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

User customizable assets #667

Open
11 of 13 tasks
Covkie opened this issue Jun 18, 2024 · 24 comments · May be fixed by #517
Open
11 of 13 tasks

User customizable assets #667

Covkie opened this issue Jun 18, 2024 · 24 comments · May be fixed by #517

Comments

@Covkie
Copy link

Covkie commented Jun 18, 2024

Content

This is an issue which is meant to unify #571, #352 and #355, #439, #517, #576, #261 as well as #298, #424, #384, #294.
https://discord.com/channels/1015060230222131221/1216096162008924291/1252079440075161715

Design goals:

  1. Give the user full control over what icons Vesktop displays and/or uses.
  2. Store the user provided assets in the Vesktop cache dir. (all the prs that partially implement things do not do this.)
  3. Support Linux, Windows and MacOS unless stated otherwise

Scope:

  1. Startup splash customization
  2. Tray icon customization

Features:

  1. Startup Splash:
    (mostly implemented in Add option for custom startup animations #355)

  2. Tray icon:
    Implemented in feat: Tray icon voice detection, customization and notification badge #517

    • Change static icon
      1. User can provide a static icon
      2. Support unread badges:
    • Voice chat status
      1. Default audio, mute and deafened indicator follow system accent colour unless specified otherwise by a provided option
      2. Default light and dark mode variants of the above which automatically switch using this unless overridden by the user
      3. Allow the user to apply custom icons for any of the above 4 states (Audio detected, no audio, muted, deafend)
FYI System accent on linux is a standard portal. Read: flatpak/xdg-desktop-portal/pull/815. Try in your terminal:
dbus-send --session --print-reply --dest=org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Settings.Read string:'org.freedesktop.appearance' string:'accent-color'

cc: @Vendicated @PolisanTheEasyNick @ading2210 @alchzh @MrGarlic1

@ading2210

This comment was marked as outdated.

@Covkie

This comment was marked as outdated.

@Tiagoquix
Copy link
Contributor

About accent color, do you mean like the text selection color that comes from the system theme that gets applied on the browser (let's say, Firefox) to also apply for Vesktop (instead of it using dark blue text selection color due to Chromium's default)? Not sure where accent color would change much on Discord with the exception of text selection. I think Vesktop mantainers would prefer to stick with Discord official colors somehow.

Also, FYI, there's custom icon themes that support the various states of Discord system tray (IIRC, system tray icon states work as expected on the official Discord client for Linux). Example of a custom theme that has support:
https://github.com/search?q=repo%3APapirusDevelopmentTeam%2Fpapirus-icon-theme+discord&type=code

Not sure how the implementation is going to be, but it would be nice to have an option/toggle like "Use system icons" which would use system-provided icon packs that have support for it (such as Papirus) - otherwise fall back to Vesktop's provided ones.

If I'm not mistaken this is implemented by the DE, and (if I'm not mistaken) on KDE Plasma you can request a system icon with a simple call and get a returning value of it existing or not and then proceed from there. Not sure how it works on GNOME, but I think it's basically the same principle on GNOME and other DEs.

@Covkie
Copy link
Author

Covkie commented Jun 18, 2024

Using the system accent colour is only meant for the tray. See #517 (Currently does not support Linux system accent).

I dont think a toggle would be needed for relying on system provided or user provided tray icons as the system theme would just override the icons, no?

@Tiagoquix
Copy link
Contributor

I dont think a toggle would be needed for relying on system provided or user provided tray icons as the system theme would just override the icons, no?

Not sure. I think that by design Vesktop would prioritize its own icons and only search for system-provided icons if explicitly specified to do so (which a setting could do).

@atriup

This comment was marked as abuse.

@Covkie

This comment was marked as outdated.

@atriup

This comment was marked as spam.

@holly-hacker
Copy link

Does this include customization of the window icon? To my knowledge, this is different from the tray icon. I'd like to customize the window icon because I'm used to scanning for the discord logo and Vesktop's square icon throws me off.

@Pandapip1
Copy link

I'd also like a "boring mode" option that reverts all of those assets to the Discord default ones.

@AAGaming00
Copy link
Contributor

hasn't ven said that vesktop isn't going to redistribute discords icons

@Pandapip1
Copy link

hasn't ven said that vesktop isn't going to redistribute discords icons

Is there anything stopping the client from just... fetching them from Discord itself and then saving it?

@Vendicated
Copy link
Member

Vendicated commented Jun 30, 2024

we can't use official discord icons. that would give Discord legal grounds to have Vencord taken down due to trademark infringement

@ZribeDev

This comment was marked as spam.

@testsnake
Copy link

we can't use official discord icons. that would give Discord legal grounds to have Vencord taken down due to trademark infringement

Would the Vencord logo with a circular purple background be legally distinct enough? For me, just a purple circle would be enough to manage without having to rewire my brain to look for a different logo. Could also include other background colours.

@Pandapip1
Copy link

I think it probably makes sense to move all the discussion on whether or not something is legal or not to a separate issue to avoid this cluttering this specific issue with unrelated stuff. This issue is specifically to allow user-provided assets.

@zoobporsor
Copy link

So is it possible to change the taskbar/notification area Icon to actually resemble Discord , or not? I'm confused.

@Arcitec
Copy link

Arcitec commented Sep 11, 2024

So is it possible to change the taskbar/notification area Icon to actually resemble Discord, or not?

Yes it's possible to change the Vesktop application icon, on Linux. As follows:

  • Go to my iconix repository and follow the instructions.
  • That's it.

What it does:

  • Lets you install the official Discord icon or your own custom SVG/PNG/JPG icon.
  • It will permanently change the launcher icon and taskbar/dock icon in a way that persists between app updates.
  • It will also change the running application icon of the window itself, which GNOME shows under the window preview in Activities Overview (when you press the Meta/Windows key to see an overview of all windows).

Here is an example with my own, custom icon. I have designed and included 18 different icon themes (54 icons total) in the repository for people who want to get started quickly.

image

It will not change the notification area icon, since it's created by Vesktop itself (but that feature is coming to Vesktop later, as the 1st post in this thread explains):

image

@ZribeDev
Copy link

News:

* Anyone who saw my tool release [in the previous message](https://github.com/Vencord/Vesktop/issues/667#issuecomment-2342678343) should read that message again.

* I have released a major rewrite, which is now able to theme _every_ icon for Vesktop except the notification tray. I have also designed and included 18 different, custom icon themes, for those who want to get started quickly without having to think about it.

Have fun!

Could you open the issues tab in your repo?

@Arcitec
Copy link

Arcitec commented Sep 15, 2024

Could you open the issues tab in your repo?

Alright, it's enabled, so you can make tickets. I don't want large feature requests though. :)

@trevorknorpp
Copy link

So how do we actually change it? I've been starting at this page for a long time trying to figure out what to actually do.

@cootshk
Copy link

cootshk commented Sep 16, 2024

So how do we actually change it? I've been starting at this page for a long time trying to figure out what to actually do.

You can clone the repo, replace the icons with the official ones, and build it from source. I built it if you want to use my build files

@holly-hacker
Copy link

Perhaps it's best to move this conversation about an external tool to that tool's issue tracker, and leave this issue to the implementation of user customizable assets within Vesktop. That way, people won't get pinged for off-topic conversation.

@lewisakura
Copy link
Member

Yes, please do. If further discussion regarding third-party patching tools occurs I'll lock this issue and we'll work on it elsewhere. We shouldn't be promoting third-party patches because we can't provide support for them.

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 a pull request may close this issue.