dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 1f8f58a49d176b793119bc57818adfe9e55a1bac
parent 261f772e2e3719ab226df6519ce6536cfb1eac0c
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sat, 25 Mar 2023 18:42:22 -0400

Add screenshot script

Diffstat:
A.local/bin/screenshot | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/.local/bin/screenshot b/.local/bin/screenshot @@ -0,0 +1,13 @@ +#!/bin/sh + +case "$1" in +full) + maim -u | tee ~/Pictures/Screenshots/$(date +%s).png | xclip -sel c -t image/png + ;; +win) + maim -u -i $(xdotool getactivewindow) | tee ~/Pictures/Screenshots/$(date +%s).png | xclip -sel c -t image/png + ;; +sel) + maim -u -s | tee ~/Pictures/Screenshots/$(date +%s).png | xclip -sel c -t image/png + ;; +esac