diff --git a/xprograms b/xprograms index 2885c6b..86d3abf 100755 --- a/xprograms +++ b/xprograms @@ -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