X-Git-Url: http://git.scottworley.com/srec/blobdiff_plain/07dc9ebeb425baaae6d1588e6e26687b36184c9b..3b5f6e087f515559fdcb2cca5008a7e2315e90f3:/srec.py diff --git a/srec.py b/srec.py index d0a0392..1112edd 100644 --- a/srec.py +++ b/srec.py @@ -27,7 +27,7 @@ recording: Recording | None = None def make_filename() -> str: directory = os.environ.get( 'XDG_VIDEOS_DIR', - os.path.expanduser('~/Videos')) + os.path.expanduser('~/Videos/SRec')) os.makedirs(directory, exist_ok=True) timestamp = datetime.now().strftime('%Y-%m-%d %H:%M:%S') return os.path.join(directory, f'srec {timestamp}.mkv') @@ -78,6 +78,8 @@ def make_button(label: str, action: Callable[[ def on_activate(app: Gtk.Application) -> None: win = Gtk.ApplicationWindow(application=app) win.set_title('SRec') + win.set_icon_name('srec') + stack = Gtk.Stack() nr_box = Gtk.Box()