aboutsummaryrefslogtreecommitdiff
path: root/kvmx
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-08-17 16:32:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-08-17 16:32:57 -0300
commit3a576773bae14e8a0ff3811fe82bd98d38c8a85d (patch)
tree67259a96f7c3dfdb7deb03be531f5879f9dc2373 /kvmx
parent7249f8ba3d4387c265c278d3d0cf1b1588eec9b9 (diff)
downloadkvmx-3a576773bae14e8a0ff3811fe82bd98d38c8a85d.tar.gz
kvmx-3a576773bae14e8a0ff3811fe82bd98d38c8a85d.tar.bz2
Adds spice_windowmove config
Diffstat (limited to 'kvmx')
-rwxr-xr-xkvmx6
1 files changed, 5 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index a670f55..dc7b468 100755
--- a/kvmx
+++ b/kvmx
@@ -224,8 +224,12 @@ function kvmx_spice {
# Give time to connect
sleep 5
- # Fix window titles
+ # Fix window title an position
if which /usr/bin/xdotool &> /dev/null; then
+ if [ ! -z "$spice_windowmove" ]; then
+ xdotool search --name "SPICEc:0" windowmove $spice_windowmove
+ fi
+
xdotool search --name "SPICEc:0" set_window --name $VM
fi
}