Backup dotfiles

This commit is contained in:
Ano-sys
2025-01-15 01:39:27 +01:00
commit cbe4355c3d
256 changed files with 4725 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
from ignis.widgets import Widget
from typing import List
from .group import SettingsGroup
from ignis.base_widget import BaseWidget
class SettingsPage(Widget.Scroll):
def __init__(self, name: str, groups: List[SettingsGroup | BaseWidget] = []):
super().__init__(
hexpand=True,
vexpand=True,
child=Widget.Box(
vertical=True,
hexpand=True,
vexpand=True,
css_classes=["settings-page"],
child=[
Widget.Label(
label=name, css_classes=["settings-page-name"], halign="start"
),
*groups,
],
),
)