summaryrefslogtreecommitdiffstats
path: root/sample_configuration
diff options
context:
space:
mode:
authorChristian Klinger2016-05-18 17:00:55 +0200
committerChristian Klinger2016-05-18 17:00:55 +0200
commit4aaf56ea41027a795eb51b2d8cd5e6f6ad992ef0 (patch)
tree41c164e00f1e7286d5486c2c1306fb88587ed013 /sample_configuration
parentadded toolbar button to switch to manager. (diff)
downloadpvs2-4aaf56ea41027a795eb51b2d8cd5e6f6ad992ef0.tar.gz
pvs2-4aaf56ea41027a795eb51b2d8cd5e6f6ad992ef0.tar.xz
pvs2-4aaf56ea41027a795eb51b2d8cd5e6f6ad992ef0.zip
added example switch scripts.
Diffstat (limited to 'sample_configuration')
-rw-r--r--sample_configuration/switchBack.sh3
-rw-r--r--sample_configuration/switchToManager.sh6
2 files changed, 9 insertions, 0 deletions
diff --git a/sample_configuration/switchBack.sh b/sample_configuration/switchBack.sh
new file mode 100644
index 0000000..cc2bae9
--- /dev/null
+++ b/sample_configuration/switchBack.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+# switch back to desktop 0
+wmctrl -s 0
diff --git a/sample_configuration/switchToManager.sh b/sample_configuration/switchToManager.sh
new file mode 100644
index 0000000..86c6704
--- /dev/null
+++ b/sample_configuration/switchToManager.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+# move PVS-Manager to workspace 1 and focus it
+wt="PVS2-Manager"
+
+wmctrl -r $wt -t 1
+wmctrl -a $wt