From 6b2797df85583f8c44772691e8c048072fe883cf Mon Sep 17 00:00:00 2001 From: luvarqpp Date: Sat, 11 Apr 2020 10:46:14 +0200 Subject: [PATCH] Inform newcommers about SCRIPT_DIR env Added some note about SCRIPT_DIR, as it was one of two glitches for me (newcomer to i3blocks), when I have followed this documentation. --- docs/README.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/README.adoc b/docs/README.adoc index cf18c1df..91893ca6 100644 --- a/docs/README.adoc +++ b/docs/README.adoc @@ -71,6 +71,7 @@ In your i3 configuration file, define {progname} as the link:https://i3wm.org/do ---- bar { status_command i3blocks + # status_command SCRIPT_DIR=/path/to/clonned/dir i3blocks } ---- @@ -85,6 +86,8 @@ cd !$ cp config.example config ---- +IMPORTANT: Do change your status_command with `SCRIPT_DIR=/path/to/clonned/dir` prefix to i3blocks. See example config and note https://github.com/vivien/i3blocks-contrib/wiki/FAQ#blocklets-refer-to-script_dir-what-does-that-mean-how-can-i-use-it[SCRIPT_DIR env variable]. + For the picky, you can start a configuration file in one of the following preferred paths: * `$XDG_CONFIG_HOME/i3blocks/config` (or `~/.config/i3blocks/config`);