DEV Community

rafaone
rafaone

Posted on

Show Desktop

Using WM windows manager of X to minimize all.

if xprop -root _NET_SHOWING_DESKTOP|egrep '= 1' ; then
wmctrl -k off ;
else
wmctrl -k on ;
fi

Top comments (0)