summaryrefslogtreecommitdiff
path: root/content/openbsd/screenshot.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/openbsd/screenshot.md')
-rw-r--r--content/openbsd/screenshot.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/content/openbsd/screenshot.md b/content/openbsd/screenshot.md
new file mode 100644
index 0000000..4065fc4
--- /dev/null
+++ b/content/openbsd/screenshot.md
@@ -0,0 +1,20 @@
+---
+title: 'Simple Screenshot Script'
+date: 2024-12-05T01:43:04-05:00
+draft: false
+tags: ['Tech', 'Linux', 'OpenBSD']
+---
+
+The one annoying issue I had with OpenBSD when I first set it up, was that my
+old screenshot script was incompatible with OpenBSD *(Due to RustC)*.
+And I enjoy a very simple *"suckless"* style screenshot program.
+
+### One line script
+
+And the best part, is that it's a one line script; If that isn't clean code, then I don't know what is.
+
+```
+#!/bin/sh
+
+maim -s --format=bmp -o Pictures/screenshots/$(date +%s).bmp
+```