Centralize constants

This commit is contained in:
Thales Maciel 2026-02-24 13:45:31 -03:00
parent 72ad571ff2
commit a4da1ddd73
No known key found for this signature in database
GPG key ID: 33112E6833C34679
5 changed files with 24 additions and 19 deletions

View file

@ -3,7 +3,6 @@ from __future__ import annotations
import logging
import threading
import warnings
from pathlib import Path
from typing import Callable, Iterable
import gi
@ -20,9 +19,8 @@ except ValueError:
from gi.repository import GLib, Gdk, Gtk # type: ignore[import-not-found]
from constants import ASSETS_DIR, TRAY_UPDATE_MS
ASSETS_DIR = Path(__file__).parent / "assets"
TRAY_UPDATE_MS = 250
MOD_MAP = {
"shift": X.ShiftMask,