Browse Source

xprograms: add mac_rightclick function

pull/1/head
10sr 10 years ago
parent
commit
fc74cbe32d
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      xprograms

+ 8
- 0
xprograms View File

@@ -86,6 +86,14 @@ _xsslock(){
(sleep 3s && xss-lock -- xscreensaver-command -lock) &
}

_mac_rightclick(){
if ! sh /usr/local/bin/rightbutton_emulate.sh --check
then
(sleep 3s && \
gksudo sh /usr/local/bin/rightbutton_emulate.sh >/dev/null) &
fi
}

for p in $@
do
_$p


Loading…
Cancel
Save