r/jailbreak • u/CaptInc37 Developer • Jan 27 '20
Release [Release] DarkModeToggle - enable/disable specific tweaks when toggling dark mode
v1.2 - I always update all of my posts with the latest information from any subsequent updates to this tweak. Last update was on February 25, 2020
Compatible with iOS 11.0+
Repo: https://captinc.github.io
Price: Free!
Source code: https://github.com/captinc/DarkModeToggle
Screenshots
- Configure preferences in Settings after installing
- Some tweaks/preferences can be toggled instantly, but others require a respring or killing all apps
Features
- Customize exactly which tweaks you want enabled/disabled in dark/light mode
- Change preferences of other tweaks when toggling dark mode
- Toggle Noctis12 instantly
- Change SnowBoard themes with dark mode
- Works with the stock iOS 13 dark mode Control Center module
- Provides a custom Control Center module for iOS 12 and older (you can still use the custom module on iOS 13)
- Optionally run a shell script as root when toggling
- Compatible with WallpaperChanger
Main uses
- Toggle app-specific dark mode tweaks with iOS 13's dark mode
- Change the appearance of other tweaks with iOS 13's dark mode
- On iOS 12, you can have a single toggle that turns all dark modes on/off
- When combined with WallpaperChanger and the "Run scripts" option, you can have custom appearance-aware wallpapers
Supported tweaks for changing preferences
- BetterAlerts
- CallBarXS
- Complications
- Grupi
- Mot
- Noctis12
- PencilChargingIndicator
- PullOver Pro
- Ringer13
- SelectionPlus
- Sileo
- SnowBoard
- Tacitus
- Ultrasound
- XIIIHUD-Mute
- Support for more tweaks can be added if you leave a comment or PM me
Donation links if you would like :)
83
Upvotes
8
u/foxfortmobile Developer Jan 27 '20
I got two questions: Why does it need root access to run scripts(which im not sure are really needed)? Is there really a need to hook dlopen since that's very low level?
2
u/KojakMoment Jan 27 '20
I tried setting it to disable Nord (WhatsApp dark mode tweak) when in light mode but it doesn't disable it
1
u/marchino123 Jan 27 '20
I have tried With byebyeseparstorcell and Spectrum but it doesn’t work
1
u/cysxl iPhone 14 Pro Max, 16.3 | Dopamine Jan 27 '20
Any chance to make it toggles on/off some specific settings/preferences for tweaks?
sometime we still need those tweaks but not the theme/setup we want in opposite mode🤣
That’ll be awesome !!
1
u/JMRipollG iPhone 8, 14.3 | Jan 27 '20
After a few tries, I got it to work with Turkey, which is awesome! I wish there was some way I could enable/disable dark mode using Watusi and change CallBar XS Light/Dark Glass Style but I realize that could be pretty complicated.
I do have one question though. What's the point of having it work with YouTubeDarkModeSync? Doesn't it defeat the purpose of the tweak?
1
u/mkizzle2906 iPhone 14 Pro Max, 16.0.2| Feb 20 '20 edited Feb 20 '20
Can u add support for PullOver Pro light/dark mode ??? And make your toggle also switch Noctis12 toggle ? And can you make it work with app has their own dark mode which work on iOS 12 or below (such as Messenger, Youtube, Reddit, Twitter, Fantistical, Telegram, Tweetbot,...)
1
u/s0m3guy_YT Mar 01 '20
I'd like support for Carbon Dark Mode and Dune. I would love to see it implemented in this tweak
1
u/casuallycompetes Mar 01 '20
some tweaks don't work with the iPad..
1
u/pretenditsokay iPhone 11, iOS 13.3 Mar 01 '20
I'd love a way to load a different widget when switching to light/dark mode through xenhtml, would that be possible in future update ?
Thanks for your already great tweak
1
u/royerlraph79 Mar 17 '20
Can you add Deluminator and FacebookDarkMode support for preferences please? :)
1
u/OxycodonIV iPhone X, iOS 13.3.1 Jan 27 '20
Great idea dev 🙏🏼
1
u/grapheezy iPhone X, iOS 13.2.2 Jan 27 '20
Dopeeee!
1
u/BananaManCJ iPhone 6, iOS 12.4.5 Jan 27 '20
YES!!! I NEED THIS!!!
1
u/Justin-Sirois iPhone XS Max, 12.0 | Jan 29 '20
Oh my gosh please do this and post a tutorial and tag me please when you do!! This is amazing your a great person :)
0
u/[deleted] Apr 14 '20
[deleted] — view deleted comment
1
u/[deleted] Jan 27 '20
[removed] — view removed comment