20250121.1737480707

This commit is contained in:
fz0x1 2025-01-21 18:31:47 +01:00
parent 412cec3135
commit 8081afdec9
2 changed files with 9 additions and 8 deletions

View file

@ -412,14 +412,15 @@ def export():
) )
try: try:
result = subprocess.run( subprocess.run(
f'printf "%s %s" "{convert_diary_date(create_time)}" {content} | jrnl {diary_name}', f'printf "%s %s" "{convert_diary_date(create_time)}" {content} | jrnl {diary_name}',
shell=True, shell=True,
capture_output=True, capture_output=True,
text=True, text=True,
check=True, check=True,
) )
print(result.stdout) os.system("clear")
print("Record has been inserted.")
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
print(f"Error writing to journal: {e.stderr}") print(f"Error writing to journal: {e.stderr}")
raise raise

View file

@ -1,7 +1,7 @@
! changing the supply between each other ! changing the supply between each other
clear mod1 ! clear mod1
clear mod4 ! clear mod4
keycode 64 = Super_L ! keycode 64 = Super_L
keycode 133 = Alt_L ! keycode 133 = Alt_L
add mod1 = Alt_L Alt_R ! add mod1 = Alt_L Alt_R
add mod4 = Super_L Super_R ! add mod4 = Super_L Super_R