Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Add the following line to your `/etc/pwnagotchi/config.toml`

```TOML
main.plugins.internet-connection.enabled = true
main.plugins.internet-connection.www_y_coord = 0
main.plugins.internet-connection.www_x_coord = 85
```

# Memtemp-Plus
Expand Down
3 changes: 2 additions & 1 deletion internet-connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def on_ui_setup(self, ui):
# add a LabeledValue element to the UI with the given label and value
# the position and font can also be specified
ui.add_element('connection_status', LabeledValue(color=BLACK, label='WWW', value='D',
position=(ui.width() / 2 - 35, 0),
position=(int(self.options["www_x_coord"]),
int(self.options["www_y_coord"])),
label_font=fonts.Bold, text_font=fonts.Medium))

def on_internet_available(self, agent):
Expand Down