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

Calendar Module in Dark Mode #381

Open
foersben opened this issue Jan 15, 2021 · 2 comments
Open

Calendar Module in Dark Mode #381

foersben opened this issue Jan 15, 2021 · 2 comments

Comments

@foersben
Copy link

foersben commented Jan 15, 2021

Dear Community,

how can I set the calendar module https://github.com/vivien/i3blocks-contrib/tree/master/calendar into dark mode as shown in the preview?

Thank you in advance!

@enprava
Copy link

enprava commented Nov 10, 2021

I personally use lxappareance. You can use a dark theme and calendar module should display into dark mode.

@warmshowers1
Copy link

The calendar is using the yad command, which uses your GTK themes as color palettes for the various widgets it provides.
I found this ArchWiki page that describes how to handle GTK themes with this exact section detailing how you can change the configuration files to prefer a dark theme over a light theme.
I ran this command in my shell: gsettings set org.gnome.desktop.interface color-scheme prefer-dark
And added gtk-application-prefer-dark-theme = true to my /usr/share/gtk-3.0/settings.ini, and it changed to dark theme.
I did not try this myself, but if you wouldn't prefer a system wide change, this section details where you can find (or create) the user configuration files.

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

No branches or pull requests

3 participants