Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bitemyapp/dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
bitemyapp committed Oct 4, 2017
2 parents 6e9f179 + 6cd506a commit 4cb6964
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .install-mac.sh
@@ -0,0 +1,7 @@
#!/bin/bash

mkdir ~/Screenshots

defaults write com.apple.screencapture ~/Screenshots

killall SystemUIServer
19 changes: 19 additions & 0 deletions .scripts/safari-tabs.applescript
@@ -0,0 +1,19 @@
(*
Safari tabs to clipboard
Copies the URLs and titles of everything in your (front) Safari window to the clipboard.
By Martijn Engler (http://applecoach.nl)
October 9, 2012
*)
tell application "Safari"
set theWindow to front window
set theTabs to theWindow's tabs --of every window
set result to ""
repeat with eachTab in theTabs
set result to result & "* \"" & name of eachTab & "\": \"" & URL of eachTab & "
"
end repeat
set the clipboard to the text of result
end tell

0 comments on commit 4cb6964

Please sign in to comment.