XTerm shaded property
felix
felix at f-hauri.ch
Tue Oct 22 09:18:56 UTC 2024
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 - <felix at f-hauri.ch> - http://www.f-hauri.ch
More information about the xorg
mailing list