diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A.png deleted file mode 100644 index 3c02bab..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/CHANGELOG.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/CHANGELOG.md deleted file mode 100644 index a74c4fb..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/CHANGELOG.md +++ /dev/null @@ -1,28 +0,0 @@ -## 0.0.5 - 2014.11.22 -### Changed -- Use `forecast-config` for managing API keys. -- Fixed bug when precipitation intensity/probability was all 0's. - -## 0.0.4 - 2014.11.21 -### Added -- Sparklines for precipitation intensity and probability for the next hour - (where applicable) and day. - -### Changed -- Bugfix for when `DEFAULT_LAT_LONG` is set and `DEFAULT_LOCATION` is not. - -## 0.0.3 - 2014.11.19 -### Added -- Forecast now uses units appropriate to the location. - -### Changed -- Fix `DEFAULT_LAT_LONG`. - -## 0.0.2 - 2014.11.19 -### Changed -- Remove minutely result for non-US locations since Forecast doesn't have this - data. - -## 0.0.1 - 2014.11.18 -### Added -- Initial release diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/README.md deleted file mode 100644 index 0fef7b1..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# Forecast Workflow for Alfred - -![screenshot][screenshot] - -[screenshot]: http://i.imgur.com/mxGnovo.png - -# Requirements - -- [Alfred](http://www.alfredapp.com/) -- [Alfred Powerpack](http://www.alfredapp.com/powerpack/) -- OS X Mavericks - -# Installation - -Download and install the [workflow][download]. - -[download]: https://github.com/kejadlen/forecast.alfredworkflow/releases/download/0.0.5/Forecast.alfredworkflow - -Run `forecast-config VALUE` to set API keys and the default location: - -- `FORECAST_API_KEY`: Get an API key [here][forecast-api-key]. -- `GOOGLE_API_KEY`: Get an API key [here][google-api-key]. (Used for geocoding. - If you never need to search for a location, this can be omitted by using - `DEFAULT_LAT_LONG`.) -- `DEFAULT_LOCATION`: Ex. "Seattle, WA". -- `DEFAULT_LAT_LONG`: Only required if `GOOGLE_API_KEY` is unavailable, since - `DEFAULT_LOCATION` can't be geocoded. Format: `lat,long`. - -[forecast-api-key]: https://developer.forecast.io/register -[google-api-key]: https://developers.google.com/maps/documentation/geocoding/#api_key - -# TODO - -- Handle errors gracefully -- Caching? (Probably unnecessary...) -- Use `Accept-Encoding: gzip` for Forecast calls - -# Attributions - -- [Climacons](http://adamwhitcroft.com/climacons/) -- [Forecast API](https://developer.forecast.io/docs/v2) -- [Google Geocoding API](https://developers.google.com/maps/documentation/geocoding/) diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/alfred.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/alfred.rb deleted file mode 100644 index 67085f3..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/alfred.rb +++ /dev/null @@ -1,89 +0,0 @@ -require 'delegate' -require 'erb' -require 'yaml' - -class Items < DelegateClass(Array) - attr_reader :items - - def initialize - @items = [] - super(@items) - end - - def to_s - ERB.new(<<-XML).result(binding) - - - <%= items.map {|item| item.to_s.split("\n").map {|line| ' ' << line }}.join("\n").strip %> - - XML - end -end - -class Item - attr_reader *%i[ uid arg valid - title subtitle icon ] - def initialize(**kwargs) - @uid = kwargs.fetch(:uid).to_s.encode(xml: :attr) - @arg = kwargs[:arg].to_s.encode(xml: :attr) - @valid = kwargs.fetch(:valid, false) ? 'yes' : 'no' - @title = kwargs.fetch(:title).encode(xml: :text) - @subtitle = kwargs[:subtitle] && kwargs[:subtitle].encode(xml: :text) - @icon = kwargs[:icon] && kwargs[:icon].encode(xml: :text) - end - - def to_s - ERB.new(<<-XML, nil, '%>').result(binding) - uid=<%= uid %> valid="<%= valid %>"> - <%= title %> -% if subtitle - <%= subtitle %> -% end -% if icon - <%= icon %> -% end - - XML - end -end - -module Alfred - class Config - def self.[](key) - config[key] - end - - def self.[]=(key, value) - config[key] = value - end - - def self.config - return @config if defined?(@config) - - bundle_id = `/usr/libexec/PlistBuddy info.plist -c 'print :bundleid'`.strip - @config = self.new(bundle_id) - end - - WORKFLOW_DATA = '~/Library/Application Support/Alfred 2/Workflow Data/' - - attr_reader :path - attr_accessor :config - - def initialize(bundle_id) - dir = File.expand_path(File.join(WORKFLOW_DATA, bundle_id)) - Dir.mkdir(dir) unless Dir.exist?(dir) - - @path = File.join(dir, 'config.yml') - @config = File.exist?(@path) ? YAML.load_file(@path) : {} - end - - def [](key) - config.fetch(key) { '' } - end - - def []=(key, value) - config[key] = value - File.write(path, YAML.dump(config)) - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/forecast-config.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/forecast-config.rb deleted file mode 100644 index df61417..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/forecast-config.rb +++ /dev/null @@ -1,26 +0,0 @@ -require_relative 'alfred' - -OPTIONS = %w[ FORECAST_API_KEY - GOOGLE_API_KEY - DEFAULT_LOCATION - DEFAULT_LAT_LONG ] - -input = ARGV.shift || '' - -items = Items.new -OPTIONS.each do |option| - title = if input.empty? - "Unset #{option}" - else - "Set #{option} to #{input}" - end - items << Item.new( - uid: option, - arg: "Alfred::Config['#{option}'] = '#{input}'", - valid: true, - title: title, - subtitle: Alfred::Config[option], - ) -end - -puts items.to_s diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/forecast.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/forecast.rb deleted file mode 100644 index 77d03c5..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/forecast.rb +++ /dev/null @@ -1,140 +0,0 @@ -require 'delegate' -require 'erb' -require 'yaml' - -require_relative 'alfred' -require_relative 'forecaster' -require_relative 'location' -require_relative 'spark' - -ICONS = { - 'clear-day' => 'Sun', - 'clear-night' => 'Moon', - 'rain' => 'Cloud-Rain', - 'snow' => 'Cloud-Snow', - 'sleet' => 'Cloud-Snow-Alt', - 'wind' => 'Wind', - 'fog' => 'Cloud-Fog', - 'cloudy' => 'Cloud', - 'partly-cloudy-day' => 'Cloud-Sun', - 'partly-cloudy-night' => 'Cloud-Moon', -} - -Precipitation = Struct.new(:intensity, :probability) do - def self.from_forecast(forecast) - self.new(*forecast.values_at('precipIntensity', 'precipProbability')) - end - - def human_intensity - case intensity - when 0...0.002 - 'no' - when 0.002...0.017 - 'very light' - when 0.017...0.1 - 'light' - when 0.1...0.4 - 'moderate' - else - 'heavy' - end - end - - def to_s - "#{(probability*100).to_i}% chance of #{human_intensity} rain." - end -end - -query = ARGV.shift || '' -location = if query.empty? - lat, long = Alfred::Config['DEFAULT_LAT_LONG'].split(?,).map(&:to_f) - Location.new(Alfred::Config['DEFAULT_LOCATION'], lat, long) - else - Location.new(query) - end -forecast = Forecaster.forecast(location) - -items = Items.new - -items << Item.new( - uid: :location, - arg: "#{location.lat.round(4)},#{location.long.round(4)}", - valid: true, - title: location.name, - icon: 'icons/forecast.ico', -) - -currently = forecast['currently'] -precip = Precipitation.from_forecast(currently) -subtitle = [ "#{currently['temperature'].round}°" ] -subtitle << "Feels like #{currently['apparentTemperature'].round}°" -subtitle << precip.to_s if precip.probability > 0 -items << Item.new( - uid: :currently, - title: currently['summary'], - subtitle: subtitle.join(' · '), - icon: "icons/#{ICONS[currently['icon']]}.png", -) - -minutely = forecast['minutely'] -if minutely - intensity = minutely['data'].map {|m| m['precipIntensity'] } - intensity = intensity.select.with_index {|_,i| i % 4 == 0 } - min, max = intensity.minmax - intensity = intensity.map {|i| 1000 * i } - - subtitle = ["#{min.round(3)}\" #{Spark.new(intensity)} #{max.round(3)}\""] - - probability = minutely['data'].map {|m| (100 * m['precipProbability']).round } - probability = probability.select.with_index {|_,i| i % 5 == 0 } - min, max = probability.minmax - - subtitle << "#{min}% #{Spark.new(probability, max: 100)} #{max}%" - - items << Item.new( - uid: :minutely, - title: minutely['summary'], - subtitle: subtitle.join(' · '), - icon: "icons/#{ICONS[minutely['icon']]}.png", - ) -end - -hourly = forecast['hourly'] - -intensity = hourly['data'].map {|m| m['precipIntensity'] } -intensity = intensity.select.with_index {|_,i| i % 4 == 0 } -min, max = intensity.minmax -intensity = intensity.map {|i| 1000 * i } - -subtitle = ["#{min.round(3)}\" #{Spark.new(intensity)} #{max.round(3)}\""] - -probability = hourly['data'].map {|m| (100 * m['precipProbability']).round } -probability = probability.select.with_index {|_,i| i % 4 == 0 } -min, max = probability.minmax - -subtitle << "#{min}% #{Spark.new(probability, max: 100)} #{max}%" - -items << Item.new( - uid: :hourly, - title: hourly['summary'], - subtitle: subtitle.join(' · '), - icon: "icons/#{ICONS[hourly['icon']]}.png", -) - -forecast['daily']['data'][1..6].each do |data| - wday = Time.at(data['time']).strftime('%A') - precip = Precipitation.from_forecast(data) - - subtitle = [ "Low: #{data['apparentTemperatureMin'].round}°", - "High: #{data['apparentTemperatureMax'].round}°" ] - subtitle << precip.to_s if precip.probability > 0 - - items << Item.new( - uid: wday, - title: "#{wday} - #{data['summary']}", - subtitle: subtitle.join(' · '), - icon: "icons/#{ICONS[data['icon']]}.png", - ) -end - -puts items.to_s diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/forecaster.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/forecaster.rb deleted file mode 100644 index 7379bd3..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/forecaster.rb +++ /dev/null @@ -1,23 +0,0 @@ -require 'json' -require 'open-uri' - -require_relative 'alfred' - -Forecaster = Struct.new(:api_key) do - def self.forecast(location) - forecaster.forecast(location) - end - - def self.forecaster - return @forecaster if defined?(@forecaster) - - @forecaster = self.new(Alfred::Config['FORECAST_API_KEY']) - end - - def forecast(location) - lat, long = location.lat, location.long - url = "https://api.forecast.io/forecast/#{api_key}/#{lat},#{long}?units=auto" - response = JSON.load(open(url)) - end -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/geocoder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/geocoder.rb deleted file mode 100644 index e397a8e..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/geocoder.rb +++ /dev/null @@ -1,30 +0,0 @@ -require 'json' -require 'open-uri' -require 'uri' - -require_relative 'alfred' - -Geocoder = Struct.new(:api_key) do - def self.geocode(location) - geocoder.geocode(location) - end - - def self.geocoder - return @geocoder if defined?(@geocoder) - - @geocoder = self.new(Alfred::Config['GOOGLE_API_KEY']) - end - - def geocode(location) - url = 'https://maps.googleapis.com/maps/api/geocode/json' - query = URI.encode_www_form(address: location, api_key: api_key) - response = JSON.load(open("#{url}?#{query}")) - result = response['results'][0] - - name = result['formatted_address'] - location = result['geometry']['location'] - lat, long = location.values_at('lat', 'lng') - - [name, lat, long] - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icon.png deleted file mode 100644 index 1d96821..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Download.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Download.png deleted file mode 100644 index 4187ce2..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Download.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Alt.png deleted file mode 100644 index 31f4e8d..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Moon-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Moon-Alt.png deleted file mode 100644 index d51e635..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Moon-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Moon.png deleted file mode 100644 index 079ae74..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Sun-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Sun-Alt.png deleted file mode 100644 index f40345e..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Sun-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Sun.png deleted file mode 100644 index bc475f4..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle.png deleted file mode 100644 index eadc3e3..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Drizzle.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Alt.png deleted file mode 100644 index 24e2d6f..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Moon-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Moon-Alt.png deleted file mode 100644 index 1359eee..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Moon-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Moon.png deleted file mode 100644 index bf148f9..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Sun-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Sun-Alt.png deleted file mode 100644 index 5179981..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Sun-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Sun.png deleted file mode 100644 index cbc7e7f..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog.png deleted file mode 100644 index b02b45e..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Fog.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Alt.png deleted file mode 100644 index 76cd34e..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Moon-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Moon-Alt.png deleted file mode 100644 index 5671d7c..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Moon-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Moon.png deleted file mode 100644 index 23b98d1..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Sun-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Sun-Alt.png deleted file mode 100644 index 4704ebd..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Sun-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Sun.png deleted file mode 100644 index 66d052b..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail.png deleted file mode 100644 index 9d03310..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Hail.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Lightning-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Lightning-Moon.png deleted file mode 100644 index f02c182..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Lightning-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Lightning-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Lightning-Sun.png deleted file mode 100644 index 9768843..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Lightning-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Lightning.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Lightning.png deleted file mode 100644 index 01a3725..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Lightning.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Moon.png deleted file mode 100644 index 78fd657..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Alt.png deleted file mode 100644 index e0ae91e..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Moon-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Moon-Alt.png deleted file mode 100644 index 3dee696..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Moon-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Moon.png deleted file mode 100644 index 752b309..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Sun-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Sun-Alt.png deleted file mode 100644 index 3d394c6..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Sun-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Sun.png deleted file mode 100644 index 874b6f2..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain.png deleted file mode 100644 index ac81b60..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Rain.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Refresh.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Refresh.png deleted file mode 100644 index 8131b78..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Refresh.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Alt.png deleted file mode 100644 index 397934c..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Moon-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Moon-Alt.png deleted file mode 100644 index 0c98467..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Moon-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Moon.png deleted file mode 100644 index 0627039..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Sun-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Sun-Alt.png deleted file mode 100644 index 11468ea..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Sun-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Sun.png deleted file mode 100644 index 1aad15d..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow.png deleted file mode 100644 index dfc8731..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Snow.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Sun.png deleted file mode 100644 index 09e754c..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Upload.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Upload.png deleted file mode 100644 index 8f88ab3..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Upload.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Wind-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Wind-Moon.png deleted file mode 100644 index b837e38..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Wind-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Wind-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Wind-Sun.png deleted file mode 100644 index cc0b3e6..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Wind-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Wind.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Wind.png deleted file mode 100644 index 929b81a..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud-Wind.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud.png deleted file mode 100644 index 9419d36..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Cloud.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-East.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-East.png deleted file mode 100644 index 6468a60..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-East.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-North.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-North.png deleted file mode 100644 index 417066e..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-North.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-South.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-South.png deleted file mode 100644 index f5a7484..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-South.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-West.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-West.png deleted file mode 100644 index 22d9eac..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass-West.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass.png deleted file mode 100644 index 12ffc33..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Compass.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Degrees-Celcius.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Degrees-Celcius.png deleted file mode 100644 index 7e8e593..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Degrees-Celcius.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Degrees-Fahrenheit.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Degrees-Fahrenheit.png deleted file mode 100644 index cfba4a5..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Degrees-Fahrenheit.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-First-Quarter.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-First-Quarter.png deleted file mode 100644 index eb5db64..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-First-Quarter.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Full.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Full.png deleted file mode 100644 index d59ab86..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Full.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Last-Quarter.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Last-Quarter.png deleted file mode 100644 index 04823cc..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Last-Quarter.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-New.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-New.png deleted file mode 100644 index 1ac14eb..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-New.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waning-Crescent.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waning-Crescent.png deleted file mode 100644 index 46b4b4b..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waning-Crescent.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waning-Gibbous.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waning-Gibbous.png deleted file mode 100644 index 5916506..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waning-Gibbous.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waxing-Crescent.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waxing-Crescent.png deleted file mode 100644 index 8f02971..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waxing-Crescent.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waxing-Gibbous.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waxing-Gibbous.png deleted file mode 100644 index 67daddb..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon-Waxing-Gibbous.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon.png deleted file mode 100644 index 8f55b3f..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Shades.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Shades.png deleted file mode 100644 index bf979e5..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Shades.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Snowflake.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Snowflake.png deleted file mode 100644 index 380f49d..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Snowflake.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sun-Low.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sun-Low.png deleted file mode 100644 index 2b3cd27..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sun-Low.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sun-Lower.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sun-Lower.png deleted file mode 100644 index 4696a7b..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sun-Lower.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sun.png deleted file mode 100644 index b7fbb7d..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sunrise.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sunrise.png deleted file mode 100644 index bbb7e27..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sunrise.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sunset.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sunset.png deleted file mode 100644 index 4919d59..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Sunset.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-100.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-100.png deleted file mode 100644 index 4ae9592..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-100.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-25.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-25.png deleted file mode 100644 index 43f1655..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-25.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-50.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-50.png deleted file mode 100644 index 0ab9fad..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-50.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-75.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-75.png deleted file mode 100644 index 3d81d8a..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-75.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-Zero.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-Zero.png deleted file mode 100644 index a0d446b..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer-Zero.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer.png deleted file mode 100644 index 580a9f3..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Thermometer.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Tornado.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Tornado.png deleted file mode 100644 index b0d9a6a..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Tornado.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Umbrella.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Umbrella.png deleted file mode 100644 index 73d8666..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Umbrella.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Wind.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Wind.png deleted file mode 100644 index e7bef73..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/Wind.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/forecast.ico b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/forecast.ico deleted file mode 100644 index 69040d4..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/icons/forecast.ico and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/info.plist b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/info.plist deleted file mode 100644 index 0813733..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/info.plist +++ /dev/null @@ -1,159 +0,0 @@ - - - - - bundleid - com.kejadlen.forecast - category - Internet - connections - - 2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A - - - destinationuid - 5E2D96BA-31B2-4800-9A2B-B999285680A0 - modifiers - 0 - modifiersubtext - - - - 450E8285-E286-4D33-AADF-1ACF99F41031 - - - destinationuid - 373F7A50-59E2-4225-B665-E63FBBBAF7E5 - modifiers - 0 - modifiersubtext - - - - - createdby - Alpha Chen - description - - disabled - - name - Forecast - objects - - - config - - plusspaces - - url - http://forecast.io/#/f/{query} - utf8 - - - type - alfred.workflow.action.openurl - uid - 5E2D96BA-31B2-4800-9A2B-B999285680A0 - version - 0 - - - config - - argumenttype - 1 - escaping - 127 - keyword - forecast - runningsubtext - Retriving location/weather... - script - ruby forecast.rb {query} - title - Forecast - type - 0 - withspace - - - type - alfred.workflow.input.scriptfilter - uid - 2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A - version - 0 - - - config - - escaping - 0 - script - ruby -r./alfred -e "{query}" - type - 0 - - type - alfred.workflow.action.script - uid - 373F7A50-59E2-4225-B665-E63FBBBAF7E5 - version - 0 - - - config - - argumenttype - 1 - escaping - 127 - keyword - forecast-config - script - ruby forecast-config.rb {query} - title - Configure the Forecast workflow - type - 0 - withspace - - - type - alfred.workflow.input.scriptfilter - uid - 450E8285-E286-4D33-AADF-1ACF99F41031 - version - 0 - - - readme - - uidata - - 2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A - - ypos - 10 - - 373F7A50-59E2-4225-B665-E63FBBBAF7E5 - - ypos - 130 - - 450E8285-E286-4D33-AADF-1ACF99F41031 - - ypos - 130 - - 5E2D96BA-31B2-4800-9A2B-B999285680A0 - - ypos - 10 - - - webaddress - http://github.com/kejadlen/forecast.alfredworkflow - - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/location.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/location.rb deleted file mode 100644 index bbe7b2b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/location.rb +++ /dev/null @@ -1,16 +0,0 @@ -require_relative 'geocoder' - -class Location - attr_accessor :name, :lat, :long, :geocoder - - def initialize(name, lat=nil, long=nil, geocoder=Geocoder) - @name, @lat, @long, @geocoder = name, lat, long, geocoder - - geocode! unless lat && long - end - - def geocode! - self.name, self.lat, self.long = geocoder.geocode(name) - end -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/spark.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/spark.rb deleted file mode 100644 index b6bed93..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/spark.rb +++ /dev/null @@ -1,17 +0,0 @@ -class Spark - # TICKS = %w[▁ ▂ ▃ ▄ ▅ ▆ ▇ █] # Alfred doesn't render the last bar correctly - # for some reason... - TICKS = %w[▁ ▂ ▃ ▄ ▅ ▆ ▇] - - attr_reader :data, :min, :max - - def initialize(data, **kwargs) - @data = data.map(&:round) - @min = kwargs.fetch(:min) { 0 } - @max = [(kwargs.fetch(:max) { data.max }).to_f, 1.0].max - end - - def to_s - data.map {|i| TICKS[(TICKS.size - 1) * (i - min) / max] }.join - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/test_alfred.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/test_alfred.rb deleted file mode 100644 index ca519b0..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/test_alfred.rb +++ /dev/null @@ -1,22 +0,0 @@ -require 'minitest/autorun' - -require_relative 'alfred' - -class TestConfig < Minitest::Test - def setup - @config = Alfred::Config.new('com.kejadlen.test') - end - - def teardown - File.delete(@config.path) if File.exist?(@config.path) - end - - def test_config - assert_nil @config[:foo] - - @config[:foo] = 123 - assert_equal 123, @config[:foo] - assert File.exist?(@config.path) - assert_equal '{:foo=>123}', File.read(@config.path) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/test_spark.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/test_spark.rb deleted file mode 100644 index 9f99290..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8694C3FC-8218-4B98-BB1F-F1CEC686477C/test_spark.rb +++ /dev/null @@ -1,10 +0,0 @@ -require 'minitest/autorun' - -require_relative 'spark' - -class TestSpark < Minitest::Test - def test_div_by_zero - spark = Spark.new([0, 0, 0]) - assert_equal '▁▁▁', spark.to_s - end -end