summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/_index.md3
-rw-r--r--content/projects/_index.md5
-rw-r--r--content/projects/pomd/index.md31
-rw-r--r--content/projects/pomd/statusbar.pngbin0 -> 9883 bytes
4 files changed, 38 insertions, 1 deletions
diff --git a/content/_index.md b/content/_index.md
index 0491e17..e8d7e25 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -1,10 +1,11 @@
+++
template = "index.html"
+title = "hello"
+++
# silas
-- ~~projects~~ (coming soon, see [github](https://github.com/exvacuum) for now)
+- [projects](@/projects/_index.md)
- [blog](@/blog/_index.md)
find me in other places
diff --git a/content/projects/_index.md b/content/projects/_index.md
new file mode 100644
index 0000000..8448ec5
--- /dev/null
+++ b/content/projects/_index.md
@@ -0,0 +1,5 @@
++++
+title = "projects"
+template = "projects.html"
+page_template = "project-page.html"
++++
diff --git a/content/projects/pomd/index.md b/content/projects/pomd/index.md
new file mode 100644
index 0000000..93ba0ff
--- /dev/null
+++ b/content/projects/pomd/index.md
@@ -0,0 +1,31 @@
++++
+title = "pomd"
+description = "pomodoro timer daemon"
+[taxonomies]
+categories = ["utility"]
+languages = ["rust"]
+[extra]
+finished = "november 2023"
+github = ["exvacuum/pomd", "exvacuum/pomc"]
+crates = ["pomd", "pomc"]
++++
+
+this was a pretty simple rust project i did over the course of a couple days
+
+i had been wanting to experiment with d-bus on linux for a while and figured that writing a pomodoro daemon and client would be a good way to understand the basics of how d-bus interfaces work
+
+luckily i found the wonderful [zbus](https://crates.io/crates/zbus) crate which made everything for hooking up interface super simple
+
+i think the hardest thing about this project was trying to figure out how to accurately keep the time left in the timer
+
+as with many problems in rust the solution ended up being to find a [crate](https://crates.io/crates/pausable_clock) that implemented a "pausable clock" that worked similarly to a normal rust `std::time::Instant`
+
+it's pretty configurable from what i remember
+
+i used this program when i was using [dwm](https://dwm.suckless.org) and wanted a daemon to integrate into my statusbar
+
+![pomd segment in my dwm statusbar](statusbar.png)
+
+now i use KDE plasma which has a pretty good pomodoro applet available, maybe in the future i could make some kind of widget that communicates with the daemon
+
+
diff --git a/content/projects/pomd/statusbar.png b/content/projects/pomd/statusbar.png
new file mode 100644
index 0000000..6ca820a
--- /dev/null
+++ b/content/projects/pomd/statusbar.png
Binary files differ