Code Monkey home page Code Monkey logo

dune's Introduction

dune's People

Contributors

128keaton avatar foxfortmobile avatar skittyblock avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dune's Issues

[Todo] Add a dedicated CC toggle

It would be more convenient to have a dedicated CC toggle so you don’t need to toggle it through brightness settings, iOS 13 also implemented this.

Sent with GitHawk

Sync with Night Shift

It would be nice if auto enable/disable by sunrise/sunset is implemented, just like how iOS 13 does.
I've managed to make it work by respecting night shift settings(that means no more CoreLocation stuff needed):

@interface CBBlueLightClient : NSObject
typedef struct {
int hour;
int minute;
} Time;
typedef struct {
Time fromTime;
Time toTime;
} Schedule;
typedef struct {
BOOL active;
BOOL enabled;
BOOL sunSchedulePermitted;
int mode;
Schedule schedule;
unsigned long long disableFlags;
BOOL available;
} Status;
-(CBBlueLightClient *)initWithClientObj:(id)arg1 ;
@end

%hook CBBlueLightClient
-(CBBlueLightClient *)initWithClientObj:(id)arg1 {
CBBlueLightClient *client = %orig;
void (^notificationBlock)() = ^() {
Status status;
[client getBlueLightStatus:&status];
if (status.mode == 1) { //mode 1 means sunset/sunrise mode
if (status.enabled) notify_post(@"xyz.skitty.dune.enabled".UTF8String);
else notify_post(@"xyz.skitty.dune.disabled".UTF8String);
}
};
[client setStatusNotificationBlock:notificationBlock];
return %orig;
}
%end

[Bug] Toggle related tweaks not working for Deluminator

toggleRelatedDarkModeTweaks is not working for Deluminator, however when I remove ".plist" in this line of code (

Dune/Tweak.xm

Line 37 in 9b1df97

CFPreferencesSetAppValue((CFStringRef)@"enabled", (CFPropertyListRef)[NSNumber numberWithBool:setOn], (CFStringRef)[NSString stringWithFormat:@"com.foxfort.%@settings.plist", tweak]);
) it works.

[Bug] CC toggles misaligned on iPad

As what the description said. When in portrait mode, the toggles are way off on the bottom and cant be interacted. When in landscape mode, it cant even be seen.
9AB937F1-94BB-4D28-9D2F-704851DC4106

Request: add Carbon Dark Mode as a related tweak

Dune/Tweak.xm

Line 26 in 9b1df97

static void toggleRelatedDarkModeTweaks(bool setOn) {

Could you add Carbon Dark Mode to be automatically enabled when Dune is enabled?
It can be easily enabled/disabled by the following codes:

CFPreferencesSetAppValue((CFStringRef)@"enabled", (CFPropertyListRef)[NSNumber numberWithBool:setOn], CFSTR("com.oxidelabs.carbon"));
notify_post(@"com.oxidelabs.carbon.prefschanged".UTF8String);

[Todo] Blur notifications when pressed

Now, if you long press on a notification, the background it's gonna be black like in the pic attached.

2

Is it possible to make that background blur as in the preview showed below?

1

Slow springboard performance

As the title says, when Dune is active, springboard animations become a bit choppy and slow - that doesn't affect overall system's performance, just home sceen's page transitions and folder opening animations.
The only additional tweaks that change overall theme is Eclipse, Bloard and MiDevice.

Enabled Settings:
IMG_6606

Device: iPhone 5s (N53AP)
OS: 12.4 (16G77)
JB Tool: unc0ver (Latest - 3.7.0b1)

[Bug] Widget showing black text upon upgrading to 1.1.2

In relation to #4 previously closed bug, there's been one particular widget I use that is still showing as black text still.

Application on app store is 'Days - Sobriety Counter' by Tomas Vitek https://apps.apple.com/au/app/days-sobriety-counter/id1084331959

Downgrading to 1.1.1 shows it as white, however what changes had come in via 1.1.2 have reverted back to black. I was trying to compare the differences in code and the only thing I could really think was there was something relating to fallback color that was removed? Not sure if that helps.

First image - 1.1.1
Second image - 1.1.2

Image from iOS (1)

Image from iOS

Changing other tweaks’ preferences when toggling Dune

It would be more convenient to automatically change to Dark/Light theme on a tweak whenever you toggle Dune. Example like Ultrasound where theres an option for Dark/Light theme.
What I imagine for this feature is to have a separate menu, select a tweak and it opens up the .plist with an interface like how Filza opens it, select a line to change to YES or NO when Dune is toggled on/off.

Sent with GitHawk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.