summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2017-12-10 23:18:20 +0100
committerRasmus Steinke <rasi@xssn.at>2017-12-10 23:18:20 +0100
commit2cbbb1606fd963c524a87257078065f86a68cf18 (patch)
tree71b4e30df6d2459a2d713aad0c7ea29bef7cd264
parent6abc8c920ccf0be6b325bd33182607337892cd75 (diff)
include $XDG_CONGIG_HOME/rofi/themes
-rw-r--r--doc/rofi-theme-selector.1.markdown2
-rwxr-xr-xscript/rofi-theme-selector1
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/rofi-theme-selector.1.markdown b/doc/rofi-theme-selector.1.markdown
index 621cf2c8..e5c401ce 100644
--- a/doc/rofi-theme-selector.1.markdown
+++ b/doc/rofi-theme-selector.1.markdown
@@ -23,7 +23,7 @@ It lets you preview each theme with the Enter key and apply the theme to your
**rofi-theme-selector** searches the following directories for themes:
* ${PREFIX}/share/rofi/themes
-* $XDG_CONFIG_HOME/rofi
+* $XDG_CONFIG_HOME/rofi/themes
* $XDG_DATA_HOME/share/rofi/themes
${PREFIX} reflects the install location of rofi. In most cases this will be "/usr".<br>
diff --git a/script/rofi-theme-selector b/script/rofi-theme-selector
index 8df128bc..0646e4bc 100755
--- a/script/rofi-theme-selector
+++ b/script/rofi-theme-selector
@@ -69,6 +69,7 @@ function find_themes()
fi
# Add user dir.
DIRS+=":${HOME}/.local/share/"
+ DIRS+=":${HOME}/.config/"
for p in ${DIRS}; do
p=${p%/}
TD=${p}/rofi/themes