From 3eb8267e742fbcd109f863d8631a4ad764b9ff7a Mon Sep 17 00:00:00 2001 From: Aekez Date: Sun, 11 Mar 2018 22:28:13 +0100 Subject: [PATCH] update --- .../screenshot-fullscreen-and-send-to-AppVM.sh | 15 +++++++++++++++ .../screenshot-region-and-send-to-AppVM.sh | 16 ++++++++++++++++ .../screenshot-window-and-send-to-AppVM.sh | 15 +++++++++++++++ 3 files changed, 46 insertions(+) diff --git a/scripts/qubes-screenshot-scripts/screenshot-fullscreen-and-send-to-AppVM.sh b/scripts/qubes-screenshot-scripts/screenshot-fullscreen-and-send-to-AppVM.sh index 9b4b3d7..e2a5338 100644 --- a/scripts/qubes-screenshot-scripts/screenshot-fullscreen-and-send-to-AppVM.sh +++ b/scripts/qubes-screenshot-scripts/screenshot-fullscreen-and-send-to-AppVM.sh @@ -1,4 +1,19 @@ #!/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_* diff --git a/scripts/qubes-screenshot-scripts/screenshot-region-and-send-to-AppVM.sh b/scripts/qubes-screenshot-scripts/screenshot-region-and-send-to-AppVM.sh index b3345be..c20eee0 100644 --- a/scripts/qubes-screenshot-scripts/screenshot-region-and-send-to-AppVM.sh +++ b/scripts/qubes-screenshot-scripts/screenshot-region-and-send-to-AppVM.sh @@ -1,4 +1,20 @@ #!/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 or shorter sleep time if you need more or less time +# to assign a screenshot region. +#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 -ro ls)" ~/Screenshots ( sleep 15 ) qvm-move-to-vm AppVM ~/Screenshots/Screenshot_* diff --git a/scripts/qubes-screenshot-scripts/screenshot-window-and-send-to-AppVM.sh b/scripts/qubes-screenshot-scripts/screenshot-window-and-send-to-AppVM.sh index 3683167..3f207fe 100644 --- a/scripts/qubes-screenshot-scripts/screenshot-window-and-send-to-AppVM.sh +++ b/scripts/qubes-screenshot-scripts/screenshot-window-and-send-to-AppVM.sh @@ -1,4 +1,19 @@ #!/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 -wo ls)" ~/Screenshots ( sleep 3 ) qvm-move-to-vm AppVM ~/Screenshots/screenshot_*