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

Follow default GTK theme? #5714

Closed
orschiro opened this issue Feb 20, 2019 · 5 comments
Closed

Follow default GTK theme? #5714

orschiro opened this issue Feb 20, 2019 · 5 comments

Comments

@orschiro
Copy link

Hi all,

I know Telegram Desktop is a Qt app.

Despite that, is there any way I can make it follow my default GTK theme?

I am on Xfce which is a GTK desktop.

In the morning/evening I tend to use a dark GTK theme and during the day, switch to a light theme.

All my apps follow this design which gives me a nice dark/white mode experience.

The only one that doesn't is Telegram. I know it has a built-in dark mode which I can enable. But I need to switch this manually since it's not following my GTK theme.

Related question: is it possible to toggle dark mode using the command-line? Then I could create a script that adjusts Telegram according to my GTK theme.

Thank you! 🎉😄

@EricKotato
Copy link
Contributor

  1. TDesktop supports color themes. You can find some in t.me/themes or make your own.
  2. AFAIK, there is no such option to toggle dark mode from command line.

@orschiro
Copy link
Author

@RadRussianRus thank you for your input. If I recall correctly, the Android version has an auto-night-mode feature. Meaning it switches automatically to a night mode based on time of the day.

Can we achieve the same on Telegram Desktop?

@ilya-fedin
Copy link
Contributor

Despite that, is there any way I can make it follow my default GTK theme?

That would be harmful, since will create a conflict with Qt's platformtheme plugins

@Aokromes
Copy link
Collaborator

#4918

@github-actions
Copy link

github-actions bot commented Mar 5, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants