#!/bin/bash win_id=$(wmctrl -l -G -p -x | grep wechat.exe | awk '{print $1}') win_id="${win_id:0:-4}0014" if [ "$win_id" != "0014" ]; then while true; do xdotool windowunmap $win_id sleep 5 done fi