From 2cbbb1606fd963c524a87257078065f86a68cf18 Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Sun, 10 Dec 2017 23:18:20 +0100 Subject: [PATCH] include $XDG_CONGIG_HOME/rofi/themes --- doc/rofi-theme-selector.1.markdown | 2 +- script/rofi-theme-selector | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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".
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