mirror of
https://github.com/Qubes-Community/Contents.git
synced 2024-10-01 01:05:51 -04:00
20 lines
585 B
Bash
20 lines
585 B
Bash
#!/bin/sh
|
|
|
|
#Author:
|
|
#Aekez @ Github
|
|
|
|
#Disclaimer:
|
|
#Please use this script responsibly & at own risk.
|
|
#Please study the script, so that you know how it works.
|
|
|
|
#Tip:
|
|
#1) You may change the dom0 output folder ~/Screenshots if desired.
|
|
#2) mv "$()" and the -o option flag, autosaves screenshots.
|
|
#3) Put a longer sleep time if you need to prepare.
|
|
#4) A minimum sleep timer is adviced to ensure qvm-move works.
|
|
#5) screenshot_* moves all files named screenshot_ in that foler.
|
|
|
|
mv "$(xfce4-screenshooter -fo ls)" ~/Screenshots
|
|
( sleep 3 )
|
|
qvm-move-to-vm AppVM ~/Screenshots/screenshot_*
|