From 141044d5c9a3a9bcc64b3a8c557a12b47452518c Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 11 Oct 2023 11:37:36 +0800 Subject: [PATCH] Add home/local/bin/fuck_wine_shadow --- home/local/bin/fuck_wine_shadow | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 home/local/bin/fuck_wine_shadow diff --git a/home/local/bin/fuck_wine_shadow b/home/local/bin/fuck_wine_shadow new file mode 100644 index 0000000..b5f3a6a --- /dev/null +++ b/home/local/bin/fuck_wine_shadow @@ -0,0 +1,15 @@ +#!/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 + +