View Single Post
Old 11-25-2024, 12:26 PM   #1431
Cyril Gabard
Connoisseur
Cyril Gabard began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
Is there a way to add a line to this script to toggle the "Swipe left to adjust brigh

Hello mullse01,

Is there a way to add a line to this script to toggle the "Swipe left to adjust brightness in Reading settings" command ? So that the script toggles Dark mode, Brightness and Swipe left, to avoid accidental swipes when reading in the dark ?


Quote:
Originally Posted by mullse01 View Post
I know I'm late to the party, but i found a solution to solve this issue: I've added a chain_always command after the dark mode toggle that runs a shell script:


And here's the script:



This way, every time you toggle Dark Mode, there is a check to determine whether dark mode has been turned on or off ; it then changes the level accordingly in ioctl AND in "Kobo eReader.conf", so that the level changes persist across reboots.
Cyril Gabard is offline   Reply With Quote