Community
    • Login

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

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 2 Posters 324 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.
    • Pull_it_allP Offline
      Pull_it_all
      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 @Pull_it_all
        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.

        Pull_it_allP 1 Reply Last reply Reply Quote 0
        • Pull_it_allP Offline
          Pull_it_all @Abdellah Hss
          last edited by Pull_it_all

          @Abdellah-Hss Hello thanks for this input, I thought I had to provide all system versions in order to be accepted to admin plugin list. Today I’ve added ARM64 version and will fork the admin list to update it asap.
          Thanks for the feedback I actually didn’t know the way to publish it via official channel. Hopefully once I get through with this process it will make the list and be easier accesible.

          Edit
          I’ve just added the plugin to official list on x86, x64 and ARM64. Till the next update you can only install it via dll or bat installer I provided on github.

          1 Reply Last reply Reply Quote 1

          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