diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-08-07 17:11:42 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-08-07 17:11:42 -0400 |
commit | c014bf2300cc36b313a05745cc3f286dc906a813 (patch) | |
tree | 431e8bec7f0fbe39a56b0bfb1d14d2f2cce43e15 /NoSpotlight | |
download | tweaks-c014bf2300cc36b313a05745cc3f286dc906a813.tar.gz tweaks-c014bf2300cc36b313a05745cc3f286dc906a813.tar.zst tweaks-c014bf2300cc36b313a05745cc3f286dc906a813.zip |
Add BatteryPercent and NoSpotlight
Diffstat (limited to 'NoSpotlight')
-rw-r--r-- | NoSpotlight/Makefile | 13 | ||||
-rw-r--r-- | NoSpotlight/NoSpotlight.plist | 1 | ||||
-rw-r--r-- | NoSpotlight/Tweak.x | 10 | ||||
-rw-r--r-- | NoSpotlight/control | 9 |
4 files changed, 33 insertions, 0 deletions
diff --git a/NoSpotlight/Makefile b/NoSpotlight/Makefile new file mode 100644 index 0000000..4fd0271 --- /dev/null +++ b/NoSpotlight/Makefile @@ -0,0 +1,13 @@ +TARGET := iphone:clang:latest:7.0 +INSTALL_TARGET_PROCESSES = SpringBoard + +ARCHS := arm64 arm64e + +include $(THEOS)/makefiles/common.mk + +TWEAK_NAME = NoSpotlight + +NoSpotlight_FILES = Tweak.x +NoSpotlight_CFLAGS = -fobjc-arc + +include $(THEOS_MAKE_PATH)/tweak.mk diff --git a/NoSpotlight/NoSpotlight.plist b/NoSpotlight/NoSpotlight.plist new file mode 100644 index 0000000..e5c60ee --- /dev/null +++ b/NoSpotlight/NoSpotlight.plist @@ -0,0 +1 @@ +{ Filter = { Bundles = ( "com.apple.UIKit" ); }; } diff --git a/NoSpotlight/Tweak.x b/NoSpotlight/Tweak.x new file mode 100644 index 0000000..e3a416b --- /dev/null +++ b/NoSpotlight/Tweak.x @@ -0,0 +1,10 @@ +%hook SBSearchScrollView + +-(void)setScrollEnabled:(BOOL)enabled +{ + %orig(false); +} + +%end + +// vim: filetype=logos diff --git a/NoSpotlight/control b/NoSpotlight/control new file mode 100644 index 0000000..6450389 --- /dev/null +++ b/NoSpotlight/control @@ -0,0 +1,9 @@ +Package: com.cameronkatri.nosplotlight +Name: NoSpotlight +Version: 0.0.1 +Architecture: iphoneos-arm +Description: An awesome MobileSubstrate tweak! +Maintainer: Cameron Katri <me@cameronkatri.com> +Author: Cameron Katri <me@cameronkatri.com> +Section: Tweaks +Depends: mobilesubstrate (>= 0.9.5000) |