useful_scripts/prtscr/prtscrcr.sh

3 lines
140 B
Bash
Raw Permalink Normal View History

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