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
@@ -0,0 +1,23 @@
from ignis.widgets import Widget
from .row import SettingsRow
from ignis.gobject import Binding
class FileRow(SettingsRow):
def __init__(
self,
dialog: Widget.FileDialog,
button_label: str | Binding | None = None,
**kwargs,
):
super().__init__(**kwargs)
self._button = Widget.FileChooserButton(
dialog=dialog,
label=Widget.Label(
label=button_label, ellipsize="start", max_width_chars=20
),
hexpand=True,
halign="end",
)
self.child.append(self._button)