Add template entries

This commit is contained in:
Jacob Babor 2024-12-29 20:11:34 -06:00
parent 456f9007b1
commit 07057f3cf7

View File

@ -44,6 +44,11 @@ with open(csv[0], 'r') as csv:
for k,v in timesheet.items(): for k,v in timesheet.items():
print(k) print(k)
subprocess.run(["ydotool", "type", f"{k} - Team Meetings\t0.25\t{rate}\t"])
subprocess.run(["ydotool", "type", "\n"])
for i in range(1,4):
subprocess.run(["ydotool", "type", f"{k} - RESERVED {i}\t0.00\t{rate}\t"])
subprocess.run(["ydotool", "type", "\n"])
for i,h in v.items(): for i,h in v.items():
print(f' { i } - { h }') print(f' { i } - { h }')
# Now actually do the work # Now actually do the work