/ Published in: Bash
URL: http://jrandomhacker.info/Wmctrl_examples
Does what title says. But you know what? wmctrl must be installed first!
Expand |
Embed | Plain Text
#!/bin/bash if wmctrl -m | grep -q '"showing the desktop" mode: ON'; then wmctrl -k off else wmctrl -k on fi
You need to login to post a comment.
