Community
    • Login

    [New Plugin]Instantaneous Dark/Light theme switch (+automatic switch mode)

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    1 Posts 1 Posters 31 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Invert BDI
      Invert BD
      last edited by

      Hello everyone,

      I’ve been a long-time Notepad++ user, and recently found myself frequently working both indoors and outdoors on a laptop. Constantly switching between light and dark mode through Preferences became a bit tedious, so I initially wrote some Python scripts to automate it — but eventually decided to build a proper solution.

      I’ve created a C++ plugin that adds three toolbar buttons:

      ☀️ Light Mode — instantly switch to light mode
      🌙 Dark Mode — instantly switch to dark mode
      🔄 Auto Mode — automatically switches based on sunrise/sunset times calculated from your selected location
      The auto mode uses a built-in list of 50+ cities worldwide (or custom coordinates) to determine when to flip between themes — no external dependencies or internet connection required.

      More details, screenshots, and the installer can be found on the GitHub page: 👉 https://github.com/pullitall/Notepadpp-light-dark-switch-and-automatic-switch-based-on-location

      If you run into any bugs, feel free to post here or open an issue on GitHub. Any feedback is greatly appreciated!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors