part one of new modern design

This commit is contained in:
2025-06-27 19:28:18 +02:00
parent 2463d63c12
commit c8d439d428
2 changed files with 226 additions and 132 deletions

View File

@ -57,18 +57,18 @@ class AppConfig:
# Updates
# 1 = 1. Year, 09 = Month of the Year, 2924 = Day and Year of the Year
VERSION: str = "v. 2.06.2425"
VERSION: str = "v. 2.06.2625"
UPDATE_URL: str = "https://git.ilunix.de/api/v1/repos/punix/Wire-Py/releases"
DOWNLOAD_URL: str = "https://git.ilunix.de/punix/Wire-Py/archive"
# UI configuration
UI_CONFIG: Dict[str, Any] = {
"window_title": "Wire-Py",
"window_title": "",
"window_title2": "LogViewer",
"window_size": (600, 383),
"window_size": (558, 450),
"font_family": "Ubuntu",
"font_size": 11,
"resizable_window": (False, False),
"resizable_window": (True, True),
}
# System-dependent paths
@ -81,6 +81,7 @@ class AppConfig:
# Images and icons paths
IMAGE_PATHS: Dict[str, Path] = {
"icon_header": "/usr/share/icons/lx-icons/32/wg_vpn.png",
"icon_vpn": "/usr/share/icons/lx-icons/48/wg_vpn.png",
"icon_msg": "/usr/share/icons/lx-icons/48/wg_msg.png",
"icon_import": "/usr/share/icons/lx-icons/48/wg_import.png",
@ -193,6 +194,8 @@ class Msg:
STR: Dict[str, str] = {
# Strings for messages
"header_left_bottom": _("Simple GUI for Wireguard"),
"header_right_top": _("Wireguard VPN Manager"),
"sel_tl": _("Select tunnel"),
"ren_err": _("Renaming not possible"),
"exp_succ": _("Export successful"),