diff options
author | schizoid <schizoidparty@aol.com> | 2024-12-05 01:51:09 -0500 |
---|---|---|
committer | schizoid <schizoidparty@aol.com> | 2024-12-05 01:51:09 -0500 |
commit | 4da12d4d56675ad779a635f2ba1b7ecf3e11b1da (patch) | |
tree | 15b88c613954bfb8d78b2b0f40be01e93f499acd | |
parent | 9290da7ede2b2bca69fd80a873029f0d9181388e (diff) |
Dirtily drafted out screenshot page
-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 +``` |