diff options
Diffstat (limited to 'content/openbsd')
-rw-r--r-- | content/openbsd/_index.md | 2 | ||||
-rw-r--r-- | content/openbsd/screenshot.md | 20 |
2 files changed, 20 insertions, 2 deletions
diff --git a/content/openbsd/_index.md b/content/openbsd/_index.md index 91b5d9f..09d8c6e 100644 --- a/content/openbsd/_index.md +++ b/content/openbsd/_index.md @@ -13,5 +13,3 @@ for OpenBSD here. Also maybe make a few guides as well, we'll see! <img src="/images/OpenBSD_Logo.svg" style="display: block; width: 260px; height: auto;"> </a> </html> - - 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 +``` |