From ee777e90c9a420f0061b58fe0766eec2048f3123 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Thu, 31 Jul 2025 22:23:12 +0545 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(about):=20remove?= =?UTF-8?q?=20unused=20imports=20and=20GPUtil=20dependency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/about.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/modules/about.py b/modules/about.py index c38e604..30e9e31 100644 --- a/modules/about.py +++ b/modules/about.py @@ -1,14 +1,8 @@ -import subprocess import re -import gi # type: ignore +import subprocess -from fabric.widgets.label import Label -from fabric.widgets.button import Button -from fabric.widgets.box import Box -from widgets.wayland import WaylandWindow as Window -from fabric.utils.helpers import exec_shell_command_async, get_relative_path -from gi.repository import Gtk, GdkPixbuf # type: ignore -import GPUtil +from fabric.utils.helpers import get_relative_path +from gi.repository import GdkPixbuf, Gtk # type: ignore def read_dmi(field): @@ -19,7 +13,6 @@ def read_dmi(field): return "Unknown" -# TODO: Remove GPUtil dependency if not needed? (maybe?) def get_gpu_name(): output = subprocess.check_output("lspci", text=True) gpus = []