Close all window in a window manager
Hi,
I'm looking for a script that close all the windows running in a window manager (icewm in my case). I found the following code in this forum:
for app in `wmctrl `; do
wmctrl -c "$app"
done
It closes some windows but not all (firefox with mutliple tabs open for instance asks for a confirmation).
How to kill all the other windows once this firts script has been run ?
Thanks for any help
|