From 3f7ea5a737421e4705c1a9bc23e8acd6f056e5b1 Mon Sep 17 00:00:00 2001 From: qvalentin Date: Fri, 1 Oct 2021 19:32:53 +0200 Subject: [PATCH] improve screenshots --- .config/xmonad | 2 +- .scripts/cast_screenshot | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 .scripts/cast_screenshot diff --git a/.config/xmonad b/.config/xmonad index abb0363..b0ed135 160000 --- a/.config/xmonad +++ b/.config/xmonad @@ -1 +1 @@ -Subproject commit abb03630a897b26b5b83decce96eec81511a9981 +Subproject commit b0ed135a9539739a7c3e00a8031e7a34df561173 diff --git a/.scripts/cast_screenshot b/.scripts/cast_screenshot new file mode 100755 index 0000000..ebcc3da --- /dev/null +++ b/.scripts/cast_screenshot @@ -0,0 +1,3 @@ +#!/bin/sh + +scrot -se 'xclip -selection clipboard -t "image/png" < $f && mv $f ~/Pictures/screenshots'