You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could be misunderstanding how this is supposed to work but it seems like the TOUCHEGG_GESTURE_ON variable is not being set. My script is executed a few times but when I try to log output including the variable's value, the value seems to be empty. Is this expected? I have tried this without specifying repeat and with specifying repeat as both true and false. My operating system is Linux and I compiled Touchegg without SystemD.
#!/bin/bash
if [ -z ${TOUCHEGG_GESTURE_ON+x} ]; then
is_set=unset
else
is_set=set
fi
logger -p daemon.debug "TOUCHEGG_GESTURE_ON ($is_set) = $TOUCHEGG_GESTURE_ON"
if [[ "$TOUCHEGG_GESTURE_ON" == 'begin' ]]; then
xdotool keyup super keydown super
elif [[ -z "$TOUCHEGG_GESTURE_ON" || "$TOUCHEGG_GESTURE_ON" == 'end' ]]; then
xdotool keyup super
fi
The text was updated successfully, but these errors were encountered:
I could be misunderstanding how this is supposed to work but it seems like the TOUCHEGG_GESTURE_ON variable is not being set. My script is executed a few times but when I try to log output including the variable's value, the value seems to be empty. Is this expected? I have tried this without specifying repeat and with specifying repeat as both true and false. My operating system is Linux and I compiled Touchegg without SystemD.
The text was updated successfully, but these errors were encountered: