1
0
mirror of https://github.com/osmarks/random-stuff synced 2025-12-23 22:16:06 +00:00

change things in some way

This commit is contained in:
osmarks
2025-05-18 14:09:06 +01:00
parent d057781e3c
commit f32abdf5b6
12 changed files with 672 additions and 45 deletions

View File

@@ -1,9 +1,9 @@
import os, sys, subprocess, datetime
dt_threshold = datetime.datetime(2023, 6, 16).timestamp()
dt_threshold = datetime.datetime(2024, 10, 22).timestamp()
_, indir, outdir = sys.argv
for x in os.listdir(indir):
for x in sorted(os.listdir(indir)):
inpath = os.path.join(indir, x)
if os.stat(inpath).st_mtime > dt_threshold:
if subprocess.run(("feh", inpath)).returncode == 0: