Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # .cornerfix.sh
- dconf write "/org/compiz/profiles/unity/plugins/scale/initiate-edge" "''"
- dconf write "/org/compiz/profiles/unity/plugins/scale/initiate-edge" "'|BottomRight'"
- # .unlockstart.sh; For autostart nohup ~/.unlockstart.sh &
- dbus-monitor --session "type='signal',interface='com.ubuntu.Upstart0_6'" | \
- (
- while true; do
- read X
- if echo $X | grep "desktop-lock" &> /dev/null; then
- SCREEN_LOCKED;
- elif echo $X | grep "desktop-unlock" &> /dev/null; then
- ~/.cornerfix.sh;
- fi
- done
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement