Skip to content

Refinements. Speed. Documentation.

Latest
Compare
Choose a tag to compare
@Mrcuve0 Mrcuve0 released this 20 Feb 16:21
· 1 commit to master since this release

What changed:

  • Better handling of theme change for GTK Applications like Telegram and Firefox. If you set Firefox and DarkReader to "follow system theme", you can now switch your entire system to dark mode in a single run!

  • Under the hood, switching most of the themes is now done leveraging D-Bus, instead of modifying the config files (Brrr! 🥲🔫). This brings way more reliability and modularity. Moreover, transitions seem sensibly faster and do not require a forced refresh of the config files.

  • I added a -v and --verbose arg, so you can now launch LightHouse from terminal and see what happens under the hood a (and maybe debug it yourself!)

  • Notifications are done using D-Bus once again, so no need of external libraries like notify2. Notifications are really pretty, they now suppoert critical errors and display standard icons.

  • Docstrings are here! And exceptions too! So now, you can take a better look at the source code and observe what happens. Better exception handling means beter error report and less chances to crash.

  • Previous bugs with hardcoded black/white icons seem now solved, that was definitely a problem on KDE side, not on the script.

  • The logging configuration is kept in a secondary file! Please keep both files in the same directory. I will add in the future some logic to check the presence of the file, so that the script can execute even without a loggin conf (you will of course lose logging capabilities).

Known issues

  • As for now, no particular issues have been found. The script is still quite rough for newcomers, but I'd like to keep it KISS (meaning no useless GUI, no fancy or complex features)

I hope KDE devs will integrate their implementation in the system, so that LightHouse can cease to exist!