# put stock boot.img into /sdcard/boot.img
# get sha1
adb shell
su
SHA1=$(cat $(magisk --path)/.magisk/config | grep SHA1 | cut -d '=' -f 2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/main.c b/main.c | |
index f979e24..2f54043 100644 | |
--- a/main.c | |
+++ b/main.c | |
@@ -628,6 +628,7 @@ int main(int argc, char *argv[]) { | |
zwlr_layer_surface_v1_add_listener( | |
state.layer_surface, &layer_surface_listener, &state); | |
zwlr_layer_surface_v1_set_anchor(state.layer_surface, anchor); | |
+ zwlr_layer_surface_v1_set_size( state.layer_surface, 2560, 1440 ); | |
zwlr_layer_surface_v1_set_margin(state.layer_surface, |