Skip to content

Commit

Permalink
Fix command path and explain command property
Browse files Browse the repository at this point in the history
Fixed path for command. By default when following documentation on https://vivien.github.io/i3blocks/ there are commands in directories. This was missing in example script.
Added some clarification for `$SCRIPT_DIR` thing. Also made another pull request to clarify this in documentation. See vivien/i3blocks#421
  • Loading branch information
luvarqpp committed Apr 11, 2020
1 parent d600a2c commit 991b2d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config.example
Expand Up @@ -24,8 +24,9 @@
#
# The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate.
# Change $SCRIPT_DIR to the location of your scripts!
command=$SCRIPT_DIR/$BLOCK_NAME
# Change $SCRIPT_DIR to the location of your scripts! (see https://github.com/vivien/i3blocks-contrib/wiki/FAQ#blocklets-refer-to-script_dir-what-does-that-mean-how-can-i-use-it)
# actuall command will include name of block as directory and than same name as script name
command=$SCRIPT_DIR/$BLOCK_NAME/$BLOCK_NAME
separator_block_width=15
markup=none

Expand Down

0 comments on commit 991b2d3

Please sign in to comment.