Dears,
I use Xterm's title bar for progession and lot of other monitoring uses:
for progress in {0..100};do
printf '\e];Job progress: %3d%% \U2595%b\U258F\a' \
"$progress" \\U2$(( progress ? 581 + progress * 100 /1428 : 800))
sleep .03
done
And I know, I could use "printf '\e[2t'" for iconify and "printf '\e[1t'"
for de-iconify my window.
But for ``shaded'' property, I have to use `wmcrtl`:
wmctrl -ir "$WINDOWID" -b add,shaded
I've tried to not use `wmctrl', but I'm stuck finding a way to
correctly change "WM_STATE(ATOM)" X property, by using
printf '\e]3;WM_STATE=WM_STATE_SHADED\a'
Is there a way to doing this?
--
Félix Hauri - <[email protected]> - http://www.f-hauri.ch