mirror of
https://github.com/Burrit0z/Dockify_Source.git
synced 2025-07-01 20:26:46 +00:00
Dockify
Dockify source
This commit is contained in:
10
.theos/_/DEBIAN/control
Normal file
10
.theos/_/DEBIAN/control
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Package: com.burritoz.testing
|
||||||
|
Name: Dockify
|
||||||
|
Depends: mobilesubstrate, preferenceloader, com.saurik.substrate.safemode, ws.hbang.common (>=1.13)
|
||||||
|
Architecture: iphoneos-arm
|
||||||
|
Description: A very noice tweak to configure the dock a bit more...
|
||||||
|
Maintainer: burrit0z
|
||||||
|
Author: burrit0z
|
||||||
|
Section: Tweaks
|
||||||
|
Version: 1.0.0b-1+debug
|
||||||
|
Installed-Size: 348
|
BIN
.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.dylib
Executable file
BIN
.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.dylib
Executable file
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
{ Filter = { Bundles = ( "com.apple.springboard" ); }; }
|
@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>dockifyprefs</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>BNDL</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0.0</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>NSPrincipalClass</key>
|
||||||
|
<string>burRootListController</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
@ -0,0 +1,105 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>items</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSStaticTextCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Dockify by Burrit0z</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Transparent Toggle (overrides custom opcaity):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSSwitchCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<true/>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>transparent</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Transparent Dock</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Hide Dock (overrides custom height):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSSwitchCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<false/>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>hidden</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Hide (kinda)</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Dock Height Multiplier (1 default):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSEditTextCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>setHeight</string>
|
||||||
|
<key>placeholder</key>
|
||||||
|
<string>Enter value greater than 0</string>
|
||||||
|
<key>isDecimalPad</key>
|
||||||
|
<true/>
|
||||||
|
<key>keyboard</key>
|
||||||
|
<string>numbers</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Custom Opacity Multiplier (0-1):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSEditTextCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>customOpacity</string>
|
||||||
|
<key>placeholder</key>
|
||||||
|
<string>Will not be set if transparent is on</string>
|
||||||
|
<key>isDecimalPad</key>
|
||||||
|
<true/>
|
||||||
|
<key>keyboard</key>
|
||||||
|
<string>numbers</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSButtonCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Respring</string>
|
||||||
|
<key>action</key>
|
||||||
|
<string>respring:</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>title</key>
|
||||||
|
<string>Dockify</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
BIN
.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/dockifyprefs
Executable file
BIN
.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/dockifyprefs
Executable file
Binary file not shown.
BIN
.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/icon.png
Normal file
BIN
.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 418 B |
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>entry</key>
|
||||||
|
<dict>
|
||||||
|
<key>bundle</key>
|
||||||
|
<string>dockifyprefs</string>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSLinkCell</string>
|
||||||
|
<key>detail</key>
|
||||||
|
<string>burRootListController</string>
|
||||||
|
<key>icon</key>
|
||||||
|
<string>icon.png</string>
|
||||||
|
<key>isController</key>
|
||||||
|
<true/>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Dockify</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
0
.theos/build_session
Normal file
0
.theos/build_session
Normal file
0
.theos/fakeroot
Normal file
0
.theos/fakeroot
Normal file
1
.theos/last_package
Normal file
1
.theos/last_package
Normal file
@ -0,0 +1 @@
|
|||||||
|
./packages/com.burritoz.testing_1.0.0b-1+debug_iphoneos-arm.deb
|
0
.theos/obj/debug/.stamp
Normal file
0
.theos/obj/debug/.stamp
Normal file
26
.theos/obj/debug/arm64/Tweak.x.b761c000.Td
Normal file
26
.theos/obj/debug/arm64/Tweak.x.b761c000.Td
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/Tweak.x.b761c000.o: \
|
||||||
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/Tweak.x.m \
|
||||||
|
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/substrate.h
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/Prefix.pch:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/substrate.h:
|
BIN
.theos/obj/debug/arm64/Tweak.x.b761c000.o
Normal file
BIN
.theos/obj/debug/arm64/Tweak.x.b761c000.o
Normal file
Binary file not shown.
72
.theos/obj/debug/arm64/Tweak.x.m
Normal file
72
.theos/obj/debug/arm64/Tweak.x.m
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
#line 1 "Tweak.x"
|
||||||
|
#import <SpringBoard/SpringBoard.h>
|
||||||
|
#import <Cephei/HBPreferences.h>
|
||||||
|
|
||||||
|
static BOOL transparent;
|
||||||
|
static BOOL hidden;
|
||||||
|
static double setHeight;
|
||||||
|
static double customOpacity;
|
||||||
|
|
||||||
|
HBPreferences *preferences;
|
||||||
|
|
||||||
|
|
||||||
|
#include <substrate.h>
|
||||||
|
#if defined(__clang__)
|
||||||
|
#if __has_feature(objc_arc)
|
||||||
|
#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained
|
||||||
|
#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed))
|
||||||
|
#define _LOGOS_SELF_CONST const
|
||||||
|
#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained))
|
||||||
|
#else
|
||||||
|
#define _LOGOS_SELF_TYPE_NORMAL
|
||||||
|
#define _LOGOS_SELF_TYPE_INIT
|
||||||
|
#define _LOGOS_SELF_CONST
|
||||||
|
#define _LOGOS_RETURN_RETAINED
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define _LOGOS_SELF_TYPE_NORMAL
|
||||||
|
#define _LOGOS_SELF_TYPE_INIT
|
||||||
|
#define _LOGOS_SELF_CONST
|
||||||
|
#define _LOGOS_RETURN_RETAINED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@class SBDockView;
|
||||||
|
static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL);
|
||||||
|
|
||||||
|
#line 11 "Tweak.x"
|
||||||
|
|
||||||
|
static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, double arg1) {
|
||||||
|
if (transparent == NO) {
|
||||||
|
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, customOpacity);
|
||||||
|
}else if (transparent) {
|
||||||
|
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0);
|
||||||
|
} else {
|
||||||
|
NSLog(@"Dock not Transparent, no custom opacity\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) {
|
||||||
|
if (hidden) {
|
||||||
|
return (-500);
|
||||||
|
} else {
|
||||||
|
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
static __attribute__((constructor)) void _logosLocalCtor_eb769390(int __unused argc, char __unused **argv, char __unused **envp) {
|
||||||
|
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
|
||||||
|
[preferences registerDefaults:@{
|
||||||
|
@"setHeight": @1,
|
||||||
|
@"customOpacity": @1,
|
||||||
|
@"hidden": @NO
|
||||||
|
}];
|
||||||
|
[preferences registerBool:&transparent default:YES forKey:@"transparent"];
|
||||||
|
[preferences registerBool:&hidden default:NO forKey:@"hidden"];
|
||||||
|
[preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"];
|
||||||
|
[preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"];
|
||||||
|
}
|
||||||
|
static __attribute__((constructor)) void _logosLocalInit() {
|
||||||
|
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);} }
|
||||||
|
#line 44 "Tweak.x"
|
56
.theos/obj/debug/arm64/burRootListController.m.e1c44485.Td
Normal file
56
.theos/obj/debug/arm64/burRootListController.m.e1c44485.Td
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/burRootListController.m.e1c44485.o: \
|
||||||
|
burRootListController.m \
|
||||||
|
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
||||||
|
burRootListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/Prefix.pch:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
||||||
|
|
||||||
|
burRootListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
BIN
.theos/obj/debug/arm64/burRootListController.m.e1c44485.o
Normal file
BIN
.theos/obj/debug/arm64/burRootListController.m.e1c44485.o
Normal file
Binary file not shown.
BIN
.theos/obj/debug/arm64/dockifyprefs.bundle/dockifyprefs
Executable file
BIN
.theos/obj/debug/arm64/dockifyprefs.bundle/dockifyprefs
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.apple.xcode.dsym.dockifyprefs</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>dSYM</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Binary file not shown.
BIN
.theos/obj/debug/arm64/testing.dylib
Executable file
BIN
.theos/obj/debug/arm64/testing.dylib
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.apple.xcode.dsym.testing.dylib</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>dSYM</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Binary file not shown.
26
.theos/obj/debug/arm64e/Tweak.x.6e9da55c.Td
Normal file
26
.theos/obj/debug/arm64e/Tweak.x.6e9da55c.Td
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/Tweak.x.6e9da55c.o: \
|
||||||
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/Tweak.x.m \
|
||||||
|
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/substrate.h
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/Prefix.pch:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/substrate.h:
|
BIN
.theos/obj/debug/arm64e/Tweak.x.6e9da55c.o
Normal file
BIN
.theos/obj/debug/arm64e/Tweak.x.6e9da55c.o
Normal file
Binary file not shown.
72
.theos/obj/debug/arm64e/Tweak.x.m
Normal file
72
.theos/obj/debug/arm64e/Tweak.x.m
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
#line 1 "Tweak.x"
|
||||||
|
#import <SpringBoard/SpringBoard.h>
|
||||||
|
#import <Cephei/HBPreferences.h>
|
||||||
|
|
||||||
|
static BOOL transparent;
|
||||||
|
static BOOL hidden;
|
||||||
|
static double setHeight;
|
||||||
|
static double customOpacity;
|
||||||
|
|
||||||
|
HBPreferences *preferences;
|
||||||
|
|
||||||
|
|
||||||
|
#include <substrate.h>
|
||||||
|
#if defined(__clang__)
|
||||||
|
#if __has_feature(objc_arc)
|
||||||
|
#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained
|
||||||
|
#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed))
|
||||||
|
#define _LOGOS_SELF_CONST const
|
||||||
|
#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained))
|
||||||
|
#else
|
||||||
|
#define _LOGOS_SELF_TYPE_NORMAL
|
||||||
|
#define _LOGOS_SELF_TYPE_INIT
|
||||||
|
#define _LOGOS_SELF_CONST
|
||||||
|
#define _LOGOS_RETURN_RETAINED
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define _LOGOS_SELF_TYPE_NORMAL
|
||||||
|
#define _LOGOS_SELF_TYPE_INIT
|
||||||
|
#define _LOGOS_SELF_CONST
|
||||||
|
#define _LOGOS_RETURN_RETAINED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@class SBDockView;
|
||||||
|
static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL);
|
||||||
|
|
||||||
|
#line 11 "Tweak.x"
|
||||||
|
|
||||||
|
static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, double arg1) {
|
||||||
|
if (transparent == NO) {
|
||||||
|
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, customOpacity);
|
||||||
|
}else if (transparent) {
|
||||||
|
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0);
|
||||||
|
} else {
|
||||||
|
NSLog(@"Dock not Transparent, no custom opacity\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) {
|
||||||
|
if (hidden) {
|
||||||
|
return (-500);
|
||||||
|
} else {
|
||||||
|
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
static __attribute__((constructor)) void _logosLocalCtor_eb769390(int __unused argc, char __unused **argv, char __unused **envp) {
|
||||||
|
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
|
||||||
|
[preferences registerDefaults:@{
|
||||||
|
@"setHeight": @1,
|
||||||
|
@"customOpacity": @1,
|
||||||
|
@"hidden": @NO
|
||||||
|
}];
|
||||||
|
[preferences registerBool:&transparent default:YES forKey:@"transparent"];
|
||||||
|
[preferences registerBool:&hidden default:NO forKey:@"hidden"];
|
||||||
|
[preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"];
|
||||||
|
[preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"];
|
||||||
|
}
|
||||||
|
static __attribute__((constructor)) void _logosLocalInit() {
|
||||||
|
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);} }
|
||||||
|
#line 44 "Tweak.x"
|
56
.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.Td
Normal file
56
.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.Td
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.o: \
|
||||||
|
burRootListController.m \
|
||||||
|
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
||||||
|
burRootListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/Prefix.pch:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
||||||
|
|
||||||
|
burRootListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
BIN
.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.o
Normal file
BIN
.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.o
Normal file
Binary file not shown.
BIN
.theos/obj/debug/arm64e/dockifyprefs.bundle/dockifyprefs
Executable file
BIN
.theos/obj/debug/arm64e/dockifyprefs.bundle/dockifyprefs
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.apple.xcode.dsym.dockifyprefs</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>dSYM</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Binary file not shown.
BIN
.theos/obj/debug/arm64e/testing.dylib
Executable file
BIN
.theos/obj/debug/arm64e/testing.dylib
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.apple.xcode.dsym.testing.dylib</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>dSYM</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Binary file not shown.
56
.theos/obj/debug/armv7/burRootListController.m.74bc452e.Td
Normal file
56
.theos/obj/debug/armv7/burRootListController.m.74bc452e.Td
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/armv7/burRootListController.m.74bc452e.o: \
|
||||||
|
burRootListController.m \
|
||||||
|
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
||||||
|
burRootListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/Prefix.pch:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
||||||
|
|
||||||
|
burRootListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
BIN
.theos/obj/debug/armv7/burRootListController.m.74bc452e.o
Normal file
BIN
.theos/obj/debug/armv7/burRootListController.m.74bc452e.o
Normal file
Binary file not shown.
BIN
.theos/obj/debug/armv7/dockifyprefs.bundle/dockifyprefs
Executable file
BIN
.theos/obj/debug/armv7/dockifyprefs.bundle/dockifyprefs
Executable file
Binary file not shown.
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.apple.xcode.dsym.dockifyprefs</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>dSYM</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Binary file not shown.
24
.theos/obj/debug/dockifyprefs.bundle/Info.plist
Normal file
24
.theos/obj/debug/dockifyprefs.bundle/Info.plist
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>dockifyprefs</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>BNDL</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0.0</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>NSPrincipalClass</key>
|
||||||
|
<string>burRootListController</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
105
.theos/obj/debug/dockifyprefs.bundle/Root.plist
Normal file
105
.theos/obj/debug/dockifyprefs.bundle/Root.plist
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>items</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSStaticTextCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Dockify by Burrit0z</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Transparent Toggle (overrides custom opcaity):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSSwitchCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<true/>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>transparent</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Transparent Dock</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Hide Dock (overrides custom height):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSSwitchCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<false/>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>hidden</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Hide (kinda)</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Dock Height Multiplier (1 default):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSEditTextCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>setHeight</string>
|
||||||
|
<key>placeholder</key>
|
||||||
|
<string>Enter value greater than 0</string>
|
||||||
|
<key>isDecimalPad</key>
|
||||||
|
<true/>
|
||||||
|
<key>keyboard</key>
|
||||||
|
<string>numbers</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Custom Opacity Multiplier (0-1):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSEditTextCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>customOpacity</string>
|
||||||
|
<key>placeholder</key>
|
||||||
|
<string>Will not be set if transparent is on</string>
|
||||||
|
<key>isDecimalPad</key>
|
||||||
|
<true/>
|
||||||
|
<key>keyboard</key>
|
||||||
|
<string>numbers</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSButtonCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Respring</string>
|
||||||
|
<key>action</key>
|
||||||
|
<string>respring:</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>title</key>
|
||||||
|
<string>Dockify</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
BIN
.theos/obj/debug/dockifyprefs.bundle/dockifyprefs
Executable file
BIN
.theos/obj/debug/dockifyprefs.bundle/dockifyprefs
Executable file
Binary file not shown.
BIN
.theos/obj/debug/dockifyprefs.bundle/icon.png
Normal file
BIN
.theos/obj/debug/dockifyprefs.bundle/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 418 B |
BIN
.theos/obj/debug/testing.dylib
Executable file
BIN
.theos/obj/debug/testing.dylib
Executable file
Binary file not shown.
1
.theos/packages/com.burritoz.testing-0.0.41b
Normal file
1
.theos/packages/com.burritoz.testing-0.0.41b
Normal file
@ -0,0 +1 @@
|
|||||||
|
5
|
1
.theos/packages/com.burritoz.testing-1.0.0b
Normal file
1
.theos/packages/com.burritoz.testing-1.0.0b
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
14
Makefile
Normal file
14
Makefile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
ARCHS = arm64 arm64e
|
||||||
|
INSTALL_TARGET_PROCESSES = SpringBoard
|
||||||
|
|
||||||
|
include /Users/carsonzielinski/Documents/theos/makefiles/common.mk
|
||||||
|
|
||||||
|
TWEAK_NAME = testing
|
||||||
|
|
||||||
|
testing_FILES = Tweak.x
|
||||||
|
testing_CFLAGS = -fobjc-arc
|
||||||
|
testing_EXTRA_FRAMEWORKS += Cephei
|
||||||
|
|
||||||
|
include /Users/carsonzielinski/Documents/theos/makefiles/tweak.mk
|
||||||
|
SUBPROJECTS += dockifyprefs
|
||||||
|
include $(THEOS_MAKE_PATH)/aggregate.mk
|
43
Tweak.x
Normal file
43
Tweak.x
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
#import <SpringBoard/SpringBoard.h>
|
||||||
|
#import <Cephei/HBPreferences.h>
|
||||||
|
|
||||||
|
static BOOL transparent;
|
||||||
|
static BOOL hidden;
|
||||||
|
static double setHeight;
|
||||||
|
static double customOpacity;
|
||||||
|
|
||||||
|
HBPreferences *preferences;
|
||||||
|
|
||||||
|
%hook SBDockView
|
||||||
|
-(void)setBackgroundAlpha:(double)arg1 {
|
||||||
|
if (transparent == NO) {
|
||||||
|
%orig(customOpacity);
|
||||||
|
}else if (transparent) {
|
||||||
|
%orig(0.0);
|
||||||
|
} else {
|
||||||
|
NSLog(@"Dock not Transparent, no custom opacity\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
-(double)dockHeight {
|
||||||
|
if (hidden) {
|
||||||
|
return (-500);
|
||||||
|
} else {
|
||||||
|
return (%orig*setHeight);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%ctor {
|
||||||
|
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
|
||||||
|
[preferences registerDefaults:@{
|
||||||
|
@"setHeight": @1,
|
||||||
|
@"customOpacity": @1,
|
||||||
|
@"hidden": @NO
|
||||||
|
}];
|
||||||
|
[preferences registerBool:&transparent default:YES forKey:@"transparent"];
|
||||||
|
[preferences registerBool:&hidden default:NO forKey:@"hidden"];
|
||||||
|
[preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"];
|
||||||
|
[preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"];
|
||||||
|
}
|
9
control
Normal file
9
control
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Package: com.burritoz.testing
|
||||||
|
Name: Dockify
|
||||||
|
Depends: mobilesubstrate, preferenceloader, com.saurik.substrate.safemode, ws.hbang.common (>=1.13)
|
||||||
|
Version: 1.0.0b
|
||||||
|
Architecture: iphoneos-arm
|
||||||
|
Description: A very noice tweak to configure the dock a bit more...
|
||||||
|
Maintainer: burrit0z
|
||||||
|
Author: burrit0z
|
||||||
|
Section: Tweaks
|
BIN
dockifyprefs/.DS_Store
vendored
Normal file
BIN
dockifyprefs/.DS_Store
vendored
Normal file
Binary file not shown.
16
dockifyprefs/Makefile
Normal file
16
dockifyprefs/Makefile
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
include /Users/carsonzielinski/Documents/theos/makefiles/common.mk
|
||||||
|
|
||||||
|
BUNDLE_NAME = dockifyprefs
|
||||||
|
|
||||||
|
dockifyprefs_FILES = burRootListController.m
|
||||||
|
dockifyprefs_INSTALL_PATH = /Library/PreferenceBundles
|
||||||
|
dockifyprefs_FRAMEWORKS = UIKit
|
||||||
|
dockifyprefs_PRIVATE_FRAMEWORKS = Preferences
|
||||||
|
dockifyprefs_CFLAGS = -fobjc-arc
|
||||||
|
dockifyprefs_EXTRA_FRAMEWORKS +=CepheiPrefs Cephei
|
||||||
|
|
||||||
|
include /Users/carsonzielinski/Documents/theos/makefiles/bundle.mk
|
||||||
|
|
||||||
|
internal-stage::
|
||||||
|
$(ECHO_NOTHING)mkdir -p $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences$(ECHO_END)
|
||||||
|
$(ECHO_NOTHING)cp entry.plist $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences/dockifyprefs.plist$(ECHO_END)
|
24
dockifyprefs/Resources/Info.plist
Normal file
24
dockifyprefs/Resources/Info.plist
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>dockifyprefs</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>BNDL</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0.0</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>NSPrincipalClass</key>
|
||||||
|
<string>burRootListController</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
105
dockifyprefs/Resources/Root.plist
Normal file
105
dockifyprefs/Resources/Root.plist
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>items</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSStaticTextCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Dockify by Burrit0z</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Transparent Toggle (overrides custom opcaity):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSSwitchCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<true/>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>transparent</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Transparent Dock</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Hide Dock (overrides custom height):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSSwitchCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<false/>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>hidden</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Hide (kinda)</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Dock Height Multiplier (1 default):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSEditTextCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>setHeight</string>
|
||||||
|
<key>placeholder</key>
|
||||||
|
<string>Enter value greater than 0</string>
|
||||||
|
<key>isDecimalPad</key>
|
||||||
|
<true/>
|
||||||
|
<key>keyboard</key>
|
||||||
|
<string>numbers</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSGroupCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Custom Opacity Multiplier (0-1):</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSEditTextCell</string>
|
||||||
|
<key>default</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>defaults</key>
|
||||||
|
<string>com.burritoz.dockifyprefs</string>
|
||||||
|
<key>key</key>
|
||||||
|
<string>customOpacity</string>
|
||||||
|
<key>placeholder</key>
|
||||||
|
<string>Will not be set if transparent is on</string>
|
||||||
|
<key>isDecimalPad</key>
|
||||||
|
<true/>
|
||||||
|
<key>keyboard</key>
|
||||||
|
<string>numbers</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSButtonCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Respring</string>
|
||||||
|
<key>action</key>
|
||||||
|
<string>respring:</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>title</key>
|
||||||
|
<string>Dockify</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
BIN
dockifyprefs/Resources/icon.png
Normal file
BIN
dockifyprefs/Resources/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 418 B |
12
dockifyprefs/burRootListController.h
Normal file
12
dockifyprefs/burRootListController.h
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#import <Preferences/PSListController.h>
|
||||||
|
#import <Preferences/PSListController.h>
|
||||||
|
#import <Preferences/PSTableCell.h>
|
||||||
|
#import <Preferences/PSSpecifier.h>
|
||||||
|
#import <CepheiPrefs/HBRootListController.h>
|
||||||
|
#import <CepheiPrefs/HBAppearanceSettings.h>
|
||||||
|
#import <CepheiPrefs/HBPackageNameHeaderCell.h>
|
||||||
|
#import <Cephei/HBRespringController.h>
|
||||||
|
#import <Cephei/HBPreferences.h>
|
||||||
|
|
||||||
|
@interface burRootListController : PSListController
|
||||||
|
@end
|
21
dockifyprefs/burRootListController.m
Normal file
21
dockifyprefs/burRootListController.m
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#include "burRootListController.h"
|
||||||
|
|
||||||
|
@implementation burRootListController
|
||||||
|
|
||||||
|
- (NSArray *)specifiers {
|
||||||
|
if (!_specifiers) {
|
||||||
|
_specifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
|
||||||
|
}
|
||||||
|
|
||||||
|
return _specifiers;
|
||||||
|
}
|
||||||
|
|
||||||
|
-(void)respring:(PSSpecifier *)specifier {
|
||||||
|
PSTableCell *cell = [self cachedCellForSpecifier:specifier];
|
||||||
|
cell.cellEnabled = NO;
|
||||||
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||||
|
[HBRespringController respring];
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
21
dockifyprefs/entry.plist
Normal file
21
dockifyprefs/entry.plist
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>entry</key>
|
||||||
|
<dict>
|
||||||
|
<key>bundle</key>
|
||||||
|
<string>dockifyprefs</string>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSLinkCell</string>
|
||||||
|
<key>detail</key>
|
||||||
|
<string>burRootListController</string>
|
||||||
|
<key>icon</key>
|
||||||
|
<string>icon.png</string>
|
||||||
|
<key>isController</key>
|
||||||
|
<true/>
|
||||||
|
<key>label</key>
|
||||||
|
<string>Dockify</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
BIN
packages/.DS_Store
vendored
Normal file
BIN
packages/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
packages/com.burritoz.testing_1.0.0b-1+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.burritoz.testing_1.0.0b-1+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
1
testing.plist
Normal file
1
testing.plist
Normal file
@ -0,0 +1 @@
|
|||||||
|
{ Filter = { Bundles = ( "com.apple.springboard" ); }; }
|
Reference in New Issue
Block a user