feat: just grab a screenshot of primary display

This commit is contained in:
surtur 2020-05-29 13:24:33 +02:00
parent 3a2afa7e2f
commit 5e2528cb57
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -27,7 +27,7 @@ icon=/usr/share/pixmaps/fedora-logo-sprite.png # with style
lwaucj=$wdir/nuvdsp.png lwaucj=$wdir/nuvdsp.png
mkdir -p $wdir && chmod 1700 $wdir mkdir -p $wdir && chmod 1700 $wdir
grim $screen1 # take a screenshot grim -o eDP-1 $screen1 # take a screenshot
convert $screen1 -scale 10% -scale 1000% $screen1 convert $screen1 -scale 10% -scale 1000% $screen1
convert $screen1 $icon -gravity center -composite -matte $lwaucj && rm $screen1 convert $screen1 $icon -gravity center -composite -matte $lwaucj && rm $screen1