refactor(modules): clean up dock update logic and fix TOTP action closure

- Refactor dock update loop to use explicit parentheses and improve readability
- Fix closure capture in OTP plugin action to correctly pass current code
- Remove redundant lambda wrapper in player label binding
- Update logger messages with full exception context
- Adjust imports and naming for consistency across modules
- Minor code style updates and whitespace cleanup
This commit is contained in:
sankalp committed 2026-02-26 06:54:29 +05:45
1 parent 934b62ebff
commit cf7666a8a5
12 files changed
+48 -39

No files matched your search

+4 -3
View File
@@ -2,17 +2,18 @@ import math
import time
from typing import ClassVar, Literal
from gi.repository import GLib, GObject
# from gi.repository import GLib, GObject
from fabric.audio import Audio
from fabric.utils import GLib, GObject
from fabric.utils.helpers import get_relative_path
from fabric.widgets.box import Box
from fabric.widgets.revealer import Revealer
from fabric.widgets.scale import Scale, ScaleMark
from fabric.widgets.svg import Svg
from fabric.widgets.wayland import WaylandWindow as Window
from services.brightness import Brightness
from utils.animator import Animator
from widgets.wayland import WaylandWindow as Window
class AnimatedScale(Scale):