summary refs log tree commit diff
path: root/scripts/notify-send.scpt
blob: 5630440dc792398fbbe737a32f527cf16d24103a (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/usr/bin/osascript

on run argv
	if count of argv is 2 then
		display notification (item 2 of argv) with title (item 1 of argv)
	else
		display notification (item 1 of argv)
	end if
end run
bers to hiJune McEnroe Renames previous -n option to -m to stay consistent with cat -n. Prefixing lines with line numbers affects where the first tab indent ends up relative to the text above it. Not sure if it's worth fixing somehow. 2019-02-17Always split spans after newlinesJune McEnroe Simplifies ANSI and IRC output code, and prepares for line numbered output. 2019-02-15Color format specifiers light cyan in vimJune McEnroe 2019-02-15Highlight Interp as yellowJune McEnroe 2019-02-15Highlight strings in sh command substitutionsJune McEnroe 2019-02-15Add nmap gpJune McEnroe 2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe 2019-02-13Add forgotten "sixth" book of H2G2June McEnroe