From 04cae17d543cf7c4b7b50a807949a98a82665706 Mon Sep 17 00:00:00 2001 From: Illia Grybkov Date: Tue, 8 Jan 2019 21:05:27 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=89=20Rename=20"icons"=20to=20"images"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {icons => images}/all-tasks.png | Bin {icons => images}/taskpaper.png | Bin {icons => images}/things.png | Bin src/taskList/index.js | 2 +- src/taskpaper/index.js | 2 +- src/things/index.js | 6 ++---- 6 files changed, 4 insertions(+), 6 deletions(-) rename {icons => images}/all-tasks.png (100%) rename {icons => images}/taskpaper.png (100%) rename {icons => images}/things.png (100%) diff --git a/icons/all-tasks.png b/images/all-tasks.png similarity index 100% rename from icons/all-tasks.png rename to images/all-tasks.png diff --git a/icons/taskpaper.png b/images/taskpaper.png similarity index 100% rename from icons/taskpaper.png rename to images/taskpaper.png diff --git a/icons/things.png b/images/things.png similarity index 100% rename from icons/things.png rename to images/things.png diff --git a/src/taskList/index.js b/src/taskList/index.js index a0d3b05..0ca686b 100644 --- a/src/taskList/index.js +++ b/src/taskList/index.js @@ -52,7 +52,7 @@ exports.getList = () => { subtitle: `Today's tasks from Things`, arg: 'tasks', icon: { - path: 'icons/all-tasks.png' + path: 'images/all-tasks.png' }, variables: { taskmanager: 'all' diff --git a/src/taskpaper/index.js b/src/taskpaper/index.js index 4f5260c..4dd2abd 100644 --- a/src/taskpaper/index.js +++ b/src/taskpaper/index.js @@ -5,7 +5,7 @@ const config = require('../config') const getIcon = () => { return { - path: 'icons/taskpaper.png' + path: 'images/taskpaper.png' } } diff --git a/src/things/index.js b/src/things/index.js index 664b01e..6c3c6c8 100644 --- a/src/things/index.js +++ b/src/things/index.js @@ -19,7 +19,7 @@ const alfy = require('alfy') const getIcon = () => { return { - path: 'icons/things.png' + path: 'images/things.png' } } @@ -55,9 +55,7 @@ const getTasks = async () => { title: 'There are no tasks found for ⭐️ Today', arg: '', valid: false, - icon: { - path: 'icons/things3.png' - } + icon: getIcon() } ] }