1
1
mirror of https://github.com/Burrit0z/Dockify_Source.git synced 2025-07-01 17:06:47 +00:00

Update 1.1

This commit is contained in:
Burrit0z
2019-12-24 10:07:25 -05:00
parent bae7bbb83f
commit e32bb68013
57 changed files with 624 additions and 76 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -6,5 +6,5 @@ Description: A very noice tweak to configure the dock a bit more...
Maintainer: burrit0z
Author: burrit0z
Section: Tweaks
Version: 1.0.0b-1+debug
Version: 1.1
Installed-Size: 348

View File

@ -1 +1 @@
./packages/com.burritoz.testing_1.0.0b-1+debug_iphoneos-arm.deb
./packages/com.burritoz.testing_1.1_iphoneos-arm.deb

0
.theos/obj/.stamp Normal file
View File

View File

@ -0,0 +1,26 @@
/Users/carsonzielinski/Documents/testing/.theos/obj/arm64/Tweak.x.4bcb81e5.o: \
/Users/carsonzielinski/Documents/testing/.theos/obj/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:

Binary file not shown.

View File

@ -0,0 +1,62 @@
/Users/carsonzielinski/Documents/testing/.theos/obj/arm64/burRootListController.m.49278f3c.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/CepheiPrefs.framework/Headers/HBLinkTableCell.h \
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBTintedTableCell.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/CepheiPrefs.framework/Headers/HBLinkTableCell.h:
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBTintedTableCell.h:
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h:
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:

Binary file not shown.

Binary file not shown.

View File

@ -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>

BIN
.theos/obj/arm64/testing.dylib Executable file

Binary file not shown.

View File

@ -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>

View File

@ -0,0 +1,26 @@
/Users/carsonzielinski/Documents/testing/.theos/obj/arm64e/Tweak.x.a82baa7e.o: \
/Users/carsonzielinski/Documents/testing/.theos/obj/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:

Binary file not shown.

View File

@ -0,0 +1,62 @@
/Users/carsonzielinski/Documents/testing/.theos/obj/arm64e/burRootListController.m.7e65d79b.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/CepheiPrefs.framework/Headers/HBLinkTableCell.h \
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBTintedTableCell.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/CepheiPrefs.framework/Headers/HBLinkTableCell.h:
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBTintedTableCell.h:
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h:
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:

Binary file not shown.

Binary file not shown.

View File

@ -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>

BIN
.theos/obj/arm64e/testing.dylib Executable file

Binary file not shown.

View File

@ -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>

View File

@ -0,0 +1,62 @@
/Users/carsonzielinski/Documents/testing/.theos/obj/armv7/burRootListController.m.782acef0.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/CepheiPrefs.framework/Headers/HBLinkTableCell.h \
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBTintedTableCell.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/CepheiPrefs.framework/Headers/HBLinkTableCell.h:
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBTintedTableCell.h:
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h:
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:

Binary file not shown.

Binary file not shown.

View File

@ -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>

View File

@ -1,7 +1,9 @@
#line 1 "Tweak.x"
#import <SpringBoard/SpringBoard.h>
#import <Cephei/HBPreferences.h>
static BOOL transparent;
static BOOL hidden;
static double setHeight;
@ -10,6 +12,7 @@ static double customOpacity;
HBPreferences *preferences;
#include <substrate.h>
#if defined(__clang__)
#if __has_feature(objc_arc)
@ -33,40 +36,42 @@ HBPreferences *preferences;
@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"
#line 14 "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) {
if (transparent == NO && hidden == NO) {
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, customOpacity);
}else if (transparent) {
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0);
}else if (transparent || hidden) {
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0);
} else {
NSLog(@"Dock not Transparent, no custom opacity\n");
NSLog(@"Dock not Transparent/hidden, 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);
return (-50);
} else {
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
}
}
static __attribute__((constructor)) void _logosLocalCtor_eb769390(int __unused argc, char __unused **argv, char __unused **envp) {
static __attribute__((constructor)) void _logosLocalCtor_d1a00f3d(int __unused argc, char __unused **argv, char __unused **envp) {
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
[preferences registerDefaults:@{
[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"];
[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"
#line 49 "Tweak.x"

Binary file not shown.

View File

@ -1,7 +1,9 @@
#line 1 "Tweak.x"
#import <SpringBoard/SpringBoard.h>
#import <Cephei/HBPreferences.h>
static BOOL transparent;
static BOOL hidden;
static double setHeight;
@ -10,6 +12,7 @@ static double customOpacity;
HBPreferences *preferences;
#include <substrate.h>
#if defined(__clang__)
#if __has_feature(objc_arc)
@ -33,40 +36,42 @@ HBPreferences *preferences;
@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"
#line 14 "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) {
if (transparent == NO && hidden == NO) {
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, customOpacity);
}else if (transparent) {
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0);
}else if (transparent || hidden) {
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0);
} else {
NSLog(@"Dock not Transparent, no custom opacity\n");
NSLog(@"Dock not Transparent/hidden, 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);
return (-50);
} else {
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
}
}
static __attribute__((constructor)) void _logosLocalCtor_eb769390(int __unused argc, char __unused **argv, char __unused **envp) {
static __attribute__((constructor)) void _logosLocalCtor_d1a00f3d(int __unused argc, char __unused **argv, char __unused **envp) {
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
[preferences registerDefaults:@{
[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"];
[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"
#line 49 "Tweak.x"

View File

@ -6,8 +6,16 @@
<array>
<dict>
<key>cell</key>
<string>PSStaticTextCell</string>
<key>label</key>
<string>PSGroupCell</string>
<key>condensed</key>
<true/>
<key>headerCellClass</key>
<string>HBPackageNameHeaderCell</string>
<key>icon</key>
<string>icon.png</string>
<key>packageIdentifier</key>
<string>com.burritoz.testing</string>
<key>packageNameOverride</key>
<string>Dockify by Burrit0z</string>
</dict>
<dict>
@ -44,7 +52,7 @@
<key>key</key>
<string>hidden</string>
<key>label</key>
<string>Hide (kinda)</string>
<string>Hide (kinda, not really)</string>
</dict>
<dict>
<key>cell</key>
@ -54,19 +62,21 @@
</dict>
<dict>
<key>cell</key>
<string>PSEditTextCell</string>
<string>PSSliderCell</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>
<key>min</key>
<integer>0</integer>
<key>max</key>
<integer>10</integer>
<key>isSegmented</key>
<false/>
<key>showValue</key>
<true/>
<key>keyboard</key>
<string>numbers</string>
</dict>
<dict>
<key>cell</key>
@ -76,28 +86,48 @@
</dict>
<dict>
<key>cell</key>
<string>PSEditTextCell</string>
<string>PSSliderCell</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>
<key>min</key>
<integer>0</integer>
<key>max</key>
<integer>1</integer>
<key>isSegmented</key>
<false/>
<key>showValue</key>
<true/>
<key>keyboard</key>
<string>numbers</string>
</dict>
<dict>
<key>cell</key>
<string>PSButtonCell</string>
<key>label</key>
<string>Respring</string>
<string>Apply/ReSpring</string>
<key>action</key>
<string>respring:</string>
</dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>footerText</key>
<string>&quot;Try not. Do... or do not. There is no try.&quot;</string>
</dict>
<dict>
<key>cellClass</key>
<string>HBLinkTableCell</string>
<key>label</key>
<string>Source Code</string>
<key>subtitle</key>
<string>The source code for Dockify</string>
<key>icon</key>
<string>icon.png</string>
<key>url</key>
<string>https://github.com/Burrit0z/Dockify_Source</string>
</dict>
</array>
<key>title</key>
<string>Dockify</string>

Binary file not shown.

View 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>

View File

@ -0,0 +1,123 @@
<?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>PSGroupCell</string>
<key>condensed</key>
<true/>
<key>headerCellClass</key>
<string>HBPackageNameHeaderCell</string>
<key>icon</key>
<string>icon.png</string>
<key>packageIdentifier</key>
<string>com.burritoz.testing</string>
<key>packageNameOverride</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, not really)</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>PSSliderCell</string>
<key>default</key>
<string>1</string>
<key>defaults</key>
<string>com.burritoz.dockifyprefs</string>
<key>key</key>
<string>setHeight</string>
<key>min</key>
<integer>0</integer>
<key>max</key>
<integer>10</integer>
<key>isSegmented</key>
<false/>
<key>showValue</key>
<true/>
</dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>Custom Opacity Multiplier (0-1):</string>
</dict>
<dict>
<key>cell</key>
<string>PSSliderCell</string>
<key>default</key>
<string>1</string>
<key>defaults</key>
<string>com.burritoz.dockifyprefs</string>
<key>key</key>
<string>customOpacity</string>
<key>min</key>
<integer>0</integer>
<key>max</key>
<integer>1</integer>
<key>isSegmented</key>
<false/>
<key>showValue</key>
<true/>
</dict>
<dict>
<key>cell</key>
<string>PSButtonCell</string>
<key>label</key>
<string>Apply/ReSpring</string>
<key>action</key>
<string>respring:</string>
</dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>footerText</key>
<string>&quot;Try not. Do... or do not. There is no try.&quot;</string>
</dict>
</array>
<key>title</key>
<string>Dockify</string>
</dict>
</plist>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

BIN
.theos/obj/testing.dylib Executable file

Binary file not shown.

View File

@ -1 +1 @@
1
9

27
Tweak.x
View File

@ -1,6 +1,8 @@
//import needed files/headers
#import <SpringBoard/SpringBoard.h>
#import <Cephei/HBPreferences.h>
//Set up variables for use with Cephei
static BOOL transparent;
static BOOL hidden;
static double setHeight;
@ -8,22 +10,25 @@ static double customOpacity;
HBPreferences *preferences;
//hook the dock
%hook SBDockView
//this deals with everything adjusting opacity/transparency
-(void)setBackgroundAlpha:(double)arg1 {
if (transparent == NO) {
if (transparent == NO && hidden == NO) { //if not transparent and not hidden
%orig(customOpacity);
}else if (transparent) {
%orig(0.0);
}else if (transparent || hidden) { // Note: || means or in objc
%orig(0.0); //hides background of the dock (transparent)
} else {
NSLog(@"Dock not Transparent, no custom opacity\n");
NSLog(@"Dock not Transparent/hidden, no custom opacity\n");
}
}
-(double)dockHeight {
if (hidden) {
return (-500);
return (-50); //just puts the dock barely off screen lol
} else {
return (%orig*setHeight);
return (%orig*setHeight); //sets custom height if dock is not set to hidden
}
}
@ -31,13 +36,13 @@ HBPreferences *preferences;
%ctor {
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
[preferences registerDefaults:@{
[preferences registerDefaults:@{ //defaults for prefernces
@"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"];
[preferences registerBool:&transparent default:YES forKey:@"transparent"]; //registering transparent as a Boolean
[preferences registerBool:&hidden default:NO forKey:@"hidden"]; //registering hidden as a Boolean
[preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"]; //registering setHeigt as a double (number)
[preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"]; //registering customOpacity as a double (number)
}

View File

@ -1,7 +1,7 @@
Package: com.burritoz.testing
Name: Dockify
Depends: mobilesubstrate, preferenceloader, com.saurik.substrate.safemode, ws.hbang.common (>=1.13)
Version: 1.0.0b
Version: 1.1
Architecture: iphoneos-arm
Description: A very noice tweak to configure the dock a bit more...
Maintainer: burrit0z

BIN
dockifyprefs/.DS_Store vendored

Binary file not shown.

View File

@ -6,8 +6,16 @@
<array>
<dict>
<key>cell</key>
<string>PSStaticTextCell</string>
<key>label</key>
<string>PSGroupCell</string>
<key>condensed</key>
<true/>
<key>headerCellClass</key>
<string>HBPackageNameHeaderCell</string>
<key>icon</key>
<string>icon.png</string>
<key>packageIdentifier</key>
<string>com.burritoz.testing</string>
<key>packageNameOverride</key>
<string>Dockify by Burrit0z</string>
</dict>
<dict>
@ -44,7 +52,7 @@
<key>key</key>
<string>hidden</string>
<key>label</key>
<string>Hide (kinda)</string>
<string>Hide (kinda, not really)</string>
</dict>
<dict>
<key>cell</key>
@ -54,19 +62,21 @@
</dict>
<dict>
<key>cell</key>
<string>PSEditTextCell</string>
<string>PSSliderCell</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>
<key>min</key>
<integer>0</integer>
<key>max</key>
<integer>10</integer>
<key>isSegmented</key>
<false/>
<key>showValue</key>
<true/>
<key>keyboard</key>
<string>numbers</string>
</dict>
<dict>
<key>cell</key>
@ -76,28 +86,36 @@
</dict>
<dict>
<key>cell</key>
<string>PSEditTextCell</string>
<string>PSSliderCell</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>
<key>min</key>
<integer>0</integer>
<key>max</key>
<integer>1</integer>
<key>isSegmented</key>
<false/>
<key>showValue</key>
<true/>
<key>keyboard</key>
<string>numbers</string>
</dict>
<dict>
<key>cell</key>
<string>PSButtonCell</string>
<key>label</key>
<string>Respring</string>
<string>Apply/ReSpring</string>
<key>action</key>
<string>respring:</string>
</dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>footerText</key>
<string>&quot;Try not. Do... or do not. There is no try.&quot;</string>
</dict>
</array>
<key>title</key>
<string>Dockify</string>

View File

@ -1,10 +1,10 @@
#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 <CepheiPrefs/HBLinkTableCell.h>
#import <Cephei/HBRespringController.h>
#import <Cephei/HBPreferences.h>

Binary file not shown.