py-auto-cel-switch/src/settings.py

14 lines
234 B
Python

from dataclasses import dataclass
from enum import Enum, auto
class SortType(Enum):
ALPHA = auto()
NOSORT = auto()
@dataclass(frozen=True)
class MainSettings:
Sort: SortType = SortType.NOSORT
ShowAll: bool = False