diff options
Diffstat (limited to 'toggle-desktop.sh')
| -rwxr-xr-x | toggle-desktop.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/toggle-desktop.sh b/toggle-desktop.sh index f6e8843..6274dec 100755 --- a/toggle-desktop.sh +++ b/toggle-desktop.sh @@ -1,15 +1,5 @@ #!/bin/bash -if [ -s /tmp/lwa.lock ]; then - # On my system, lwa-hot-corners sometimes creates many instances of itself - # This way, I kill the unnecessary processes - # WORKS ONLY when I give the script $PPID as first argument (refer to .lwarc) - kill -KILL $1 - exit -fi - -echo "Running" > /tmp/lwa.lock - if xprop -root _NET_SHOWING_DESKTOP | egrep '= 1' > /dev/null; then wmctrl -k off else |
