Advertisement
ZaxonXP45

monitor_unlock.sh

Oct 20th, 2022
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. dbus-monitor --session "type='signal',interface='org.mate.ScreenSaver'" | \
  4. (
  5.   while true; do
  6.     read X
  7.  
  8.     if echo $X | grep "ActiveChanged" &> /dev/null; then
  9.         wallpaperswide.sh -b
  10.     fi
  11.   done
  12. )
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement