Add home/local/bin/fuck_wine_shadow

master
yutent 2023-10-11 11:37:36 +08:00
parent acc5df3acd
commit 141044d5c9
1 changed files with 15 additions and 0 deletions

View File

@ -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