Skip to content

Commit e34c82c

Browse files
author
Amy
committed
Init code. Removes background on the legacy dock
1 parent fd0cbe8 commit e34c82c

File tree

4 files changed

+31
-0
lines changed

4 files changed

+31
-0
lines changed

Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
TARGET := iphone:clang:latest:7.0
2+
INSTALL_TARGET_PROCESSES = SpringBoard
3+
4+
5+
include $(THEOS)/makefiles/common.mk
6+
7+
ARCHS = arm64 arm64e
8+
9+
SDKVERSION=12.2
10+
11+
TWEAK_NAME = NukeDock
12+
13+
NukeDock_FILES = Tweak.x
14+
NukeDock_CFLAGS = -fobjc-arc
15+
16+
include $(THEOS_MAKE_PATH)/tweak.mk

NukeDock.plist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ Filter = { Bundles = ( "com.apple.springboard" ); }; }

Tweak.x

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
%hook SBDockView // Hooks the Dock
2+
-(void)setBackgroundAlpha:(double)arg1 { // We want to change background alpha
3+
%orig(0.0); // Set alpha to 0 (transparent)
4+
}
5+
%end

control

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Package: dev.amygrace.nukedock
2+
Name: NukeDock
3+
Version: 0.0.1
4+
Architecture: iphoneos-arm
5+
Description: Nuke the dock background!
6+
Maintainer: Amy
7+
Author: Amy
8+
Section: Tweaks
9+
Depends: mobilesubstrate (>= 0.9.5000)

0 commit comments

Comments
 (0)