From 87eae76a58a74bf55888d5aa219c3c25bccc7a56 Mon Sep 17 00:00:00 2001 From: jayofelony Date: Mon, 4 Mar 2024 16:07:17 +0100 Subject: [PATCH] Add display invert to --install --- bin/pwnagotchi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/pwnagotchi b/bin/pwnagotchi index de6bf87e..24e547df 100755 --- a/bin/pwnagotchi +++ b/bin/pwnagotchi @@ -221,6 +221,11 @@ if __name__ == '__main__': "https://github.com/jayofelony/pwnagotchi/blob/master/pwnagotchi/utils.py#L240-L431") if pwn_display_type != "": f.write("ui.display.type = \""+pwn_display_type+"\"\n") + pwn_display_invert = input("Do you want to invert the display colors? [y/n]\n\n" + "No = Black background\n" + "Yes = White background") + if pwn_display_invert in ('y', 'yes'): + f.write("ui.invert = true\n") f.close() print("Your configuration is done, and I will restart in 5 seconds.") time.sleep(5)