13
submitted 2 weeks ago by checksout@piefed.social to c/android@lemmy.ml

Is there any solution to configure termux to use system default theme instead of what i setup using termux styling app? Even a basic option to set different themes for different modes will help l, so that i can configure it to switch to zenburn when system is in Dark mode and Google light when in light mode.

you are viewing a single comment's thread
view the rest of the comments
[-] masterofn001@lemmy.ca 1 points 2 weeks ago

Trying various methods without adb/shizuku give:

Exception occurred while executing 'night':
java.lang.SecurityException: getNightModeCustomType requires MODIFY_DAY_NIGHT_MODE permission

cmd uimode gives the options but executing any options ends in error.

Anything beyond that is beyond me.

But, maybe this can help if you want to do the real programming stuff I can't

https://stackoverflow.com/questions/44170028/android-how-to-detect-if-night-mode-is-on-when-using-appcompatdelegate-mode-ni#44170179

this post was submitted on 08 Dec 2024
13 points (93.3% liked)

Android

10 readers
1 users here now

A place to discuss anything related to Android or Android adjacent.


INFO:


Check Out Our Partner Communities:

!android@lemmy.world

founded 4 years ago
MODERATORS