summaryrefslogtreecommitdiff
diff options
-rw-r--r--jobs/suspend.txt.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/jobs/suspend.txt.in b/jobs/suspend.txt.in
index 64a10bb..03c4059 100644
--- a/jobs/suspend.txt.in
+++ b/jobs/suspend.txt.in
@@ -19,6 +19,7 @@ command:
cat <<'EOF' | run_templates -t -s 'graphics_card_resource'
plugin: shell
id: suspend/`echo ${index}`_resolution_before_suspend_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'`
+ depends: graphics/`echo ${index}`_switch_card_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'`
estimated_duration: 1.2
_description: Record the current resolution before suspending.
command: xrandr -q |grep '*'| awk '{print $1}' > $PLAINBOX_SESSION_SHARE/`echo ${index}`_resolution_before_suspend_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'`.txt