From 4da12d4d56675ad779a635f2ba1b7ecf3e11b1da Mon Sep 17 00:00:00 2001 From: schizoid Date: Thu, 5 Dec 2024 01:51:09 -0500 Subject: Dirtily drafted out screenshot page --- content/openbsd/_index.md | 2 -- content/openbsd/screenshot.md | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 content/openbsd/screenshot.md (limited to 'content/openbsd') 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! - - 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 +``` -- cgit v1.2.3