iso-profiles/mabox-en/desktop-overlay/usr/bin/show_desktop

7 lines
96 B
Bash
Executable File

#!/bin/sh
if wmctrl -m | grep "mode: ON"; then
exec wmctrl -k off
else
exec wmctrl -k on
fi