diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1691f22 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.png filter=lfs diff=lfs merge=lfs -text +*.jpg filter=lfs diff=lfs merge=lfs -text diff --git a/html/index.html b/html/index.html index 1777da1..d121b7f 100644 --- a/html/index.html +++ b/html/index.html @@ -1,7 +1,7 @@ - + Index @@ -244,7 +244,7 @@ Here’s this week’s journal!

-Today is Friday, 7th November. +Today is Saturday, 8th November.

@@ -265,8 +265,6 @@ Here’s this week’s journal! data-status="NODATA"> - - @@ -293,7 +291,7 @@ Here’s this week’s journal! data-status="YES">● - @@ -313,6 +311,8 @@ Here’s this week’s journal! data-status="YES">● + @@ -328,8 +328,6 @@ Here’s this week’s journal! data-status="NODATA"> - + @@ -391,8 +391,6 @@ Here’s this week’s journal! data-status="NODATA"> - + @@ -454,8 +454,6 @@ Here’s this week’s journal! data-status="NODATA"> - + @@ -517,8 +517,6 @@ Here’s this week’s journal! data-status="NODATA"> - + @@ -580,8 +580,6 @@ Here’s this week’s journal! data-status="NODATA"> - - @@ -628,6 +626,8 @@ Here’s this week’s journal! data-status="NO">× + @@ -657,8 +657,6 @@ Here’s this week’s journal! data-status="NODATA"> - + @@ -708,8 +708,6 @@ Here’s this week’s journal! data-status="NODATA"> - +
journal! data-status="NODATA">
Meditation journal! data-status="NO">× ××
French × journal! data-status="YES">● ××
Engineering journal! data-status="NO">× ××
Exercise journal! data-status="YES">● ××
Drawing × journal! data-status="NO">× × ××
Reading journal! data-status="NO">× ××
Social journal! data-status="EXCELLENT">♦ ×
@@ -775,7 +775,7 @@ Here’s this week’s journal!
- -
-

Habits   autocollapse

-
+
+

Habits   autocollapse

+
NO Meditation
@@ -293,9 +293,9 @@ Tired, so tired.

-
-

Habits   autocollapse

-
+
+

Habits   autocollapse

+
NO Meditation
@@ -334,10 +334,63 @@ Tired, so tired.
+
+

Saturday, 8th November

+
+
+
+

YES Journal

+
+

+Many chores today. +

+
+
+
+

Habits   autocollapse

+
+
+
+
NO Meditation
+
+
+
+
+
NO Drawing
+
+
+
+
+
NO Engineering
+
+
+
+
+
NO French
+
+
+
+
+
NO Social
+
+
+
+
+
NO Exercise
+
+
+
+
+
NO Reading
+
+
+
+
+
- @@ -344,7 +329,7 @@ I wrote a script to set a random wallpaper.
Lockscreen

-I hacked together some pretty crappy code to lock the screen using i3lock, with my wallpaper composed with a little lock icon as the background. Very overengineered. +I hacked together some pretty crappy code to lock the screen using i3lock, with my wallpaper composed with a little lock icon as the background. Very overengineered.

@@ -456,9 +441,9 @@ Personally, I’m getting a rare chance to critically examine all the little

-
-

Appendix A: Transient Terminal Sources

-
+
+

Appendix A: Transient Terminal Sources

+

togglescratch

@@ -481,6 +466,7 @@ Personally, I’m getting a rare chance to critically examine all the little
+

makescratch

@@ -493,9 +479,11 @@ Personally, I’m getting a rare chance to critically examine all the little set decid (printf '%d' $nid) xdotool set_window --name "scratchterminal" $decid exec "$HOME/Scripts/cleanscratch" +
+

cleanscratch

@@ -508,6 +496,7 @@ Personally, I’m getting a rare chance to critically examine all the little
+

picom.conf

@@ -523,36 +512,36 @@ opacity-rule=["90:name = 'scratchterminal'"];
-
-

Appendix B: lock.py

-
+
+

Appendix B: lock.py

+
-
#!/usr/bin/python3
-import os
-import sys
-import time
+
#!/usr/bin/python3
+import os
+import sys
+import time
 
-if __name__ == "__main__":
-    width, height, lwidth, lheight = 2256, 1504, 320, 320
-    icon = "$HOME/Pictures/lock_small.png"
-    pape = os.popen("cat /tmp/wallpaper").read()[:-1]
-    cache = os.popen("cat /tmp/lockscreen_cache").read()[:-1]
+if __name__ == "__main__":
+    width, height, lwidth, lheight = 2256, 1504, 320, 320
+    icon = "$HOME/Pictures/lock_small.png"
+    pape = os.popen("cat /tmp/wallpaper").read()[:-1]
+    cache = os.popen("cat /tmp/lockscreen_cache").read()[:-1]
 
-    if pape != cache or '--ignore-cache' in sys.argv:
-        os.popen(f"convert {pape} -resize {width}x{height} -background black -gravity center -extent {width}x{height} /tmp/wallpaper.png").read()
-        os.popen(f"convert -composite /tmp/wallpaper.png {icon} -geometry +{width//2 - lwidth//2}+{height//2 - lheight//2} /tmp/wallpaper.png").read()
-        os.popen(f"echo {pape} > /tmp/lockscreen_cache")
+    if pape != cache or '--ignore-cache' in sys.argv:
+        os.popen(f"convert {pape} -resize {width}x{height} -background black -gravity center -extent {width}x{height} /tmp/wallpaper.png").read()
+        os.popen(f"convert -composite /tmp/wallpaper.png {icon} -geometry +{width//2 - lwidth//2}+{height//2 - lheight//2} /tmp/wallpaper.png").read()
+        os.popen(f"echo {pape} > /tmp/lockscreen_cache")
 
-    os.popen("i3lock -u -i /tmp/wallpaper.png")
-    time.sleep(0.5)
-    os.popen("loginctl suspend")
+    os.popen("i3lock -u -i /tmp/wallpaper.png")
+    time.sleep(0.5)
+    os.popen("loginctl suspend")
 
-