|
|
@ -586,7 +586,8 @@ wid_toggle() {
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
# get saved window id if already created
|
|
|
|
# get saved window id if already created
|
|
|
|
local wid exists visibility
|
|
|
|
local wid exists visibility
|
|
|
|
wid=$(< "$MUTDROP_PATH/$program$num") 2> /dev/null
|
|
|
|
# cat to silence error
|
|
|
|
|
|
|
|
wid=$(cat "$MUTDROP_PATH/$program$num" 2> /dev/null)
|
|
|
|
exists=true
|
|
|
|
exists=true
|
|
|
|
if [[ -n $wid ]]; then
|
|
|
|
if [[ -n $wid ]]; then
|
|
|
|
visibility=$(get_visibility "$wid")
|
|
|
|
visibility=$(get_visibility "$wid")
|
|
|
|