From 8081afdec9f6365d190da0a2d016511d858594df Mon Sep 17 00:00:00 2001 From: fz0x1 Date: Tue, 21 Jan 2025 18:31:47 +0100 Subject: [PATCH] 20250121.1737480707 --- global/scripts/bin/diary.py | 5 +++-- linux/.Xmodmap | 12 ++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/global/scripts/bin/diary.py b/global/scripts/bin/diary.py index 9c85d64..a5ce1e0 100755 --- a/global/scripts/bin/diary.py +++ b/global/scripts/bin/diary.py @@ -412,14 +412,15 @@ def export(): ) try: - result = subprocess.run( + subprocess.run( f'printf "%s %s" "{convert_diary_date(create_time)}" {content} | jrnl {diary_name}', shell=True, capture_output=True, text=True, check=True, ) - print(result.stdout) + os.system("clear") + print("Record has been inserted.") except subprocess.CalledProcessError as e: print(f"Error writing to journal: {e.stderr}") raise diff --git a/linux/.Xmodmap b/linux/.Xmodmap index 07bf261..170f6ab 100644 --- a/linux/.Xmodmap +++ b/linux/.Xmodmap @@ -1,7 +1,7 @@ ! changing the supply between each other -clear mod1 -clear mod4 -keycode 64 = Super_L -keycode 133 = Alt_L -add mod1 = Alt_L Alt_R -add mod4 = Super_L Super_R +! clear mod1 +! clear mod4 +! keycode 64 = Super_L +! keycode 133 = Alt_L +! add mod1 = Alt_L Alt_R +! add mod4 = Super_L Super_R