Skip to content
Draft
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
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ Fill out the required information and test your webhook. If that works - you're
<img width="978" height="437" alt="image" src="https://github.com/user-attachments/assets/e5bd6c60-f465-485c-b396-8739730f4566" />

### What it looks like in reality
<img width="551" height="697" alt="image" src="https://github.com/user-attachments/assets/4374eb32-bc83-4932-a54e-f7ee519e8d2c" />
<img width="346" height="562" alt="Screenshot 2025-09-27 014409" src="https://github.com/user-attachments/assets/9729b33a-34ba-40a0-868e-3e41c2f9be82" />

<img width="553" height="561" alt="image" src="https://github.com/user-attachments/assets/df8181bb-7717-44d9-98c0-0857dd050bf5" />

### Contributors
- [aweeri](https://github.com/aweeri) – Original creator
- [TotallyAm](https://github.com/TotallyAm) – Fuel cost & distance calculation feature
- [SweetJonnySauce](https://github.com/SweetJonnySauce) – Ubuntu compatibility fix
- [SweetJonnySauce](https://github.com/SweetJonnySauce) – Ubuntu compatibility fix
- [MrTagnan](https://github.com/MrTagnan) – "pls add me" + contributed imagery and minimal design adjustments
5 changes: 4 additions & 1 deletion load.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"""

import tkinter as tk
from tkinter import ttk
from pathlib import Path
from typing import Optional, Dict, Any
from datetime import datetime, timedelta
Expand Down Expand Up @@ -145,6 +146,8 @@ def plugin_prefs(parent: nb.Notebook, cmdr: str, is_beta: bool) -> Optional[tk.F
logger.debug("Loading plugin preferences UI")
frame = nb.Frame(parent)
frame.columnconfigure(1, weight=1)

entry_widget = getattr(nb, "Entry", ttk.Entry)

current_row = 0

Expand All @@ -166,7 +169,7 @@ def plugin_prefs(parent: nb.Notebook, cmdr: str, is_beta: bool) -> Optional[tk.F
for label, attr in settings:
current_row += 1
nb.Label(frame, text=label).grid(row=current_row, column=0, padx=10, pady=5, sticky=tk.W)
entry = nb.Entry(frame, width=60)
entry = entry_widget(frame, width=60)
entry.grid(row=current_row, column=1, padx=10, pady=5, sticky=tk.EW)
setattr(config_state, attr, entry)

Expand Down