Jump to content

Rio

Member
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Thanks
    Rio reacted to sorgel in DuckDuckGo Private Email   
    Hello there! This is the first workflow I'd like to share with the public. I hope it comes in handy for someone.

    DuckDuckGo Private Email
    The workflow generates and inserts private address via DuckDuckGo Email Protection:
     
    Typically, users need to have the DuckDuckGo extension installed on their web browser in order to receive a new protected address. This workflow helps to get a new address in any app:
     

     
     
    Usage
    Workflow uses the DuckDuckGo API. Provide an API token to make it work:
    1. Follow the DuckDuckGo instructions to set up your Duck Address.
    2. On the Autofill tab on the DuckDuckGo email protection page open your web browser's developer tools.
    3. Click the Generate Private Duck Address button and view the Network tab on your developer tools window.
    4. Select the "Addresses" call for the API POST request. The item will look like this:
    authorization: Bearer <API token> 5. In workflow settings, add the token to "Arg and Vars" object:
     

     
    Links
    Download workflow | Sources
  2. Like
    Rio reacted to Luciano Santana in EggTimer v2 [updated to 2.0 final]   
    Here is my own custom version : https://github.com/lucianosantana/EggTimer2  (based on the updated version for Alfred 3 by @ianhowson)

    For the issues with the notification I had to change the notify_functions.sh .
    I've completely erased the original and added the following : 
    notify () { if [ "$5" = alarm ]; then nc_icon="$PWD/resources/icon_alarm.icns" else nc_icon="$PWD/resources/icon.icns" fi osascript <<EOD set img to POSIX file "$nc_icon" display dialog "$3\n$4" with title "$1" with icon img buttons {"OK"} EOD } I'm using AppleScript to display a Dialog (not a notification). This way the message sticks on the screen until I interact with it and I don't loose the reminder if I'm temporarily away.
    I also had to invert the order of execution of the sound and alert. Originally it executes the notification then the sound. But changing the notification to dialog blocks the script execution, therefore the sounds executes after user interaction. To solve this issue just search for 
    afplay sounds/alarm_done.mp3 & in the files timer_alarm.sh , timer_auto.sh and timer.sh . Then move it just before the notify command.

    Might be helpful for you @Basket and @Dzier .
     
     
×
×
  • Create New...