View Single Post
Old 10-14-2022, 04:51 AM   #886
natore
Junior Member
natore began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2022
Device: Kobo Libra 2
CLI?

So I am pretty new to Kobo hacking. I setup a reader menu entry for toggling dark mode. The thing is that I am usually always enabling darkmode during the night and disabling it in the morning. Now I am looking for a way to do this programatically.

I have been thinking about setting up a udev hook and write a small script to enable/disable dark mode based on time of day, but I can't figure out a way to do it from the terminal. I know NickelDBus exists, but it doesn't appear to have support for the newer firmware darkmode, only for invert, which does nothing on my Libra 2. Anybody got an idea how to achieve this?
natore is offline   Reply With Quote