Jump to content

adamdehaven

Member
  • Posts

    9
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by adamdehaven

  1. Unfortunately the Unsplash API currently only allows users to favorite photos, not entire collections. While liking/favoriting isn't currently a part of this workflow (that would require authenticating you, the user, into your Unsplash account, if you have one) I'll put it on a list of user requests.

    Thanks for the feedback!

  2. An Alfred workflow that allows users to replace their desktop background(s) with photos from the popular Unsplash.com.
    screenshot.png


    Install the Wallpapers-from-Unsplash Alfred workflow simply by double-clicking the workflow file.
    Once installed, the Alfred workflow allows for 10 different keyword methods, along with 3 configuration methods:

    KEYWORDS

    unsplash: Replaces the desktop background(s) with a random photo from Unsplash.

    featured: Replaces the desktop background(s) with a random featured photo from Unsplash.

    search:

    with argument: [comma-separated string of keywords]

    Replaces the desktop background(s) with a random photo matching the search keyword(s) from Unsplash. Separate keywords with commas and NO spaces.

    Example: search sunrise,city


    collection:


    with argument: [collection id]

    Replaces the desktop background(s) with a random photo from the specified collection from Unsplash.

    Example: collection 165921


    username:


    with argument [username string]

    Replaces the desktop background(s) with a random photo from the specified user’s photos from Unsplash.

    Example: username stvcrtr


    fetch:


    with argument [photo id]

    Replaces the desktop background(s) with a specified photo from Unsplash.

    Example: fetch KqVHRmHVwwM


    desktop:


    with argument [desktop number]

    Replaces the desktop background specified by the integer with a random photo from Unsplash.

    Example: desktop 2


    save:


    with argument [desktop number]

    Saves the current desktop background specified by the integer to the Wallpapers-from-Unsplash/images/saved-wallpapers/ directory.

    Example: save 2


    saved:


    with argument [full or partial image name]

    Replaces the current desktop background(s) with a specific saved photo from your Wallpapers-from-Unsplash/images/saved-wallpapers/ directory. You may pass a full or partial image name.

    Example: saved TZCehSn-T-o


    load: Replaces the current desktop background(s) with a random saved photo from Wallpapers-from-Unsplash/images/saved-wallpapers/

    CONFIGURATION KEYWORDS

    setpath:


    with argument [Wallpapers-from-Unsplash]

    Sets the path of the Wallpapers-from-Unsplash/ directory. Type the keyword setpath followed by Wallpapers-from-Unsplashand then select the correct folder in Alfred.

    Required Usage: setpath Wallpapers-from-Unsplash


    setdesktopwidth:


    with argument [integer]

    Sets the desktop width at which to download photos. Default is 2560.

    Example: setdesktopwidth 2560


    setdesktopheight:


    with argument [integer]
    Sets the desktop height at which to download photos. Default is 1440.
    Example: setdesktopheight 1440


    SUPPORT
    Do you have questions? Would you like to contribute? Something else? Feel free to fork the project, open an issue, or submit a pull request.

    Not into looking at code? No worries. Reach out on Alfred Forum on Twitter @adamdehaven. More information is also available on my website.

×
×
  • Create New...