useful_scripts/prtscr/prtscrcr.sh

3 lines
140 B
Bash
Executable File

#!/bin/bash
import -window $(xprop -root _NET_ACTIVE_WINDOW | awk '{print $5}') -quality 00 png:- | xclip -selection clipboard -t image/png