|
|
@ -7,7 +7,7 @@
|
|
|
|
case "$OSTYPE" in
|
|
|
|
case "$OSTYPE" in
|
|
|
|
(darwin*)
|
|
|
|
(darwin*)
|
|
|
|
osascript -e 'tell application (path to frontmost application as text) ¬' \
|
|
|
|
osascript -e 'tell application (path to frontmost application as text) ¬' \
|
|
|
|
-e ' to get id of front window'
|
|
|
|
-e ' to get id of front window' 2>/dev/null
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
(linux-gnu*)
|
|
|
|
(linux-gnu*)
|
|
|
|
# http://stackoverflow.com/a/8688624/447288
|
|
|
|
# http://stackoverflow.com/a/8688624/447288
|
|
|
|