#!/bin/sh

if [[ "$(xdotool getactivewindow getwindowname)" == *'tormach'* ]]; then

xdotool mousemove 310 660 #reset 100%
xdotool click 1
xdotool mousemove 115 662 #find slider at 100%
xdotool mousedown 1
xdotool mousemove 55 662 #slide to 20%
xdotool mouseup 1

fi
