Skip to content

Commit

Permalink
minor formatting changes to code, updated man pages, and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
sdushantha committed Apr 9, 2022
1 parent 4ca0fc7 commit 81b733c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tmpmail
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Dependencies: jq, curl, w3m
#

version=1.2.0
version=1.2.1

# By default 'tmpmail' uses 'w3m' as it's web browser to render
# the HTML of the email
Expand Down Expand Up @@ -288,11 +288,13 @@ view_recent_email() {
view_email "$mail_id"
}


copy_email_to_clipboard(){
# Copy the email thats being used to the user's clipboard
$copy_to_clipboard_cmd < $tmpmail_email_address
}


die() {
# Print error message and exit
#
Expand Down
3 changes: 3 additions & 0 deletions tmpmail.1
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ shows the email message with specified
Specify
.Ar BROWSER
(default: w3m) that is used to render the HTML of the email
.It Fl Fl clipboard-cmd Ar COMMAND
Specify the COMMAND to use for copying the email address to your
clipboard (default: xclip -selection c)
.It Fl g , Fl Fl generate Op Ar ADDRESS
Generate a new email address, either the specified
.Ar ADDRESS ,
Expand Down

0 comments on commit 81b733c

Please sign in to comment.