mirror of
https://github.com/yshui/picom.git
synced 2024-11-25 14:06:08 -05:00
Bug fix: compton-trans -s does not work
My silly mistake. :-)
This commit is contained in:
parent
08ca5b4d1e
commit
59d6979612
1 changed files with 5 additions and 1 deletions
|
@ -56,7 +56,11 @@ if [ -z "$opacity" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get ID of the target window
|
# Get ID of the target window
|
||||||
wid=$(xwininfo $wprefix"$window" | sed -n 's/^xwininfo:.*: \(0x[[:xdigit:]]*\).*$/\1/p')
|
if [ -z "$wprefix" ]; then
|
||||||
|
wid=$(xwininfo | sed -n 's/^xwininfo:.*: \(0x[[:xdigit:]]*\).*$/\1/p')
|
||||||
|
else
|
||||||
|
wid=$(xwininfo $wprefix"$window" | sed -n 's/^xwininfo:.*: \(0x[[:xdigit:]]*\).*$/\1/p')
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$wid" ]; then
|
if [ -z "$wid" ]; then
|
||||||
echo "Failed to find window."
|
echo "Failed to find window."
|
||||||
|
|
Loading…
Reference in a new issue