Automatic dark/light themes

UUID: auto-dark-light@gihaume
Last edited:
3 weeks ago 2024-11-28, 10:22
Last commit: [bd17b512] auto-dark-light@gihaume: Update Dutch translation (#6631)

Automatically switch between dark and light themes at twilight times.

README

Close

Automatic dark/light themes

This Cinnamon applet brings the ability to automatically switch between dark and light themes and desktop background at twilight times based on a location.

Features

  • Dump system themes and desktop background settings in one click to take advantage of the Cinnamon settings menu.
  • Sync location from the system Region and City settings using a local database to automatically determine the geographical coordinates.
  • Enter manually any geographical coordinates if needed.
  • Always sync instantaneously with external changes of color scheme, region/city and time (useful in e.g. after a sleep wake up).
  • Fully event and scheduling based, zero polling.
  • Automatic mode switch can be disabled.
  • Dark/light mode can always be switched manually.
  • Schedule any amount of commands to launch at twilight times.

Applet icons legend

Auto Automatic mode switch enabled.
Auto inverted Automatic mode switch enabled but the current mode has been set while not in sync with the actual daytime, so any external changes won't update it until the next scheduled mode change or if entering auto mode switch again.
Light Automatic mode switch disabled and the current mode is light.
Dark Automatic mode switch disabled and the current mode is dark.

Dependencies

make and gcc, which can be installed on Debian-based system with sudo apt install build-essential.

Feedback

Add a ⭐ Score on the CINNAMON spices page if you like this applet.

Report issues on the GitHub repository in mentionning @guillaume-mueller to notify me.

Donate

Buy me a coffee

CHANGELOG

Open

Log In To Comment!

6 Comments

David Soles
David Soles-2 months ago
This applet is amazing. I don't know why it's not installed by default. Thank you for creating this must-have app.
Alex
Alex-3 months ago
Working well for me, thanks for creating this very useful new feature.
Michael Freeman
Michael Freeman-3 months ago
Feature Request: Would it be possible to have drop-down selectors for installed theme elements instead of having to type in the exact names?
Guillaume Müller
Guillaume Müller-3 months ago
They are not intended to be edited in typing in them but in using the "Detect" button after having edited the system settings. Those field are for indication and ideally they would be not editable.
Obaid Naseer
Obaid Naseer-3 months ago
Working very well on linux mint 22. since it integrates with system, it can trigger dark/light mode for Dark Reader browser extension. Thank you developer/s!
Guillaume Müller
Guillaume Müller-3 months ago
Thanks. Don't hesitate to add a like.