Community
    • Login

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

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    2 Posts 2 Posters 211 Views 1 Watching
    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 Offline
      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!

      Abdellah HssA 1 Reply Last reply Reply Quote 1
      • Abdellah HssA Offline
        Abdellah Hss @Invert BD
        last edited by

        @Invert-BD
        Nice addition to the software.
        But it would be better if it was downloadable via the plugin admin (I didn’t find it there).
        That would make significantly more people know it, otherwise most Npp users won’t even know that it exists.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors