From f6db8b0a851503cf67f6b9dcb9b86a71e0de2d93 Mon Sep 17 00:00:00 2001 From: Tobi-wan Kenobi Date: Fri, 25 Nov 2016 17:57:41 +0100 Subject: [PATCH] [themes] Move theme folder out of Python folder fixes #16 --- bumblebee/theme.py | 2 +- {bumblebee/themes => themes}/default.json | 0 {bumblebee/themes => themes}/gruvbox-powerline.json | 0 {bumblebee/themes => themes}/powerline.json | 0 {bumblebee/themes => themes}/solarized-powerline.json | 0 {bumblebee/themes => themes}/solarized.json | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename {bumblebee/themes => themes}/default.json (100%) rename {bumblebee/themes => themes}/gruvbox-powerline.json (100%) rename {bumblebee/themes => themes}/powerline.json (100%) rename {bumblebee/themes => themes}/solarized-powerline.json (100%) rename {bumblebee/themes => themes}/solarized.json (100%) diff --git a/bumblebee/theme.py b/bumblebee/theme.py index 7a3f99c..88b27cd 100644 --- a/bumblebee/theme.py +++ b/bumblebee/theme.py @@ -4,7 +4,7 @@ import yaml import glob def getpath(): - return os.path.dirname("{}/themes/".format(os.path.dirname(os.path.realpath(__file__)))) + return os.path.dirname("{}/../themes/".format(os.path.dirname(os.path.realpath(__file__)))) def themes(): d = getpath() diff --git a/bumblebee/themes/default.json b/themes/default.json similarity index 100% rename from bumblebee/themes/default.json rename to themes/default.json diff --git a/bumblebee/themes/gruvbox-powerline.json b/themes/gruvbox-powerline.json similarity index 100% rename from bumblebee/themes/gruvbox-powerline.json rename to themes/gruvbox-powerline.json diff --git a/bumblebee/themes/powerline.json b/themes/powerline.json similarity index 100% rename from bumblebee/themes/powerline.json rename to themes/powerline.json diff --git a/bumblebee/themes/solarized-powerline.json b/themes/solarized-powerline.json similarity index 100% rename from bumblebee/themes/solarized-powerline.json rename to themes/solarized-powerline.json diff --git a/bumblebee/themes/solarized.json b/themes/solarized.json similarity index 100% rename from bumblebee/themes/solarized.json rename to themes/solarized.json