From b988efdb60cc40ffb275b386935fe14c01315f9e Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 16 Jan 2023 18:42:48 +0100 Subject: [PATCH] [Doc] Small tweak to markdown. --- CONFIG.md | 4 ++-- Examples/test_script_mode_delim.sh | 4 ++-- README.md | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CONFIG.md b/CONFIG.md index f065cb86..76a62d06 100644 --- a/CONFIG.md +++ b/CONFIG.md @@ -64,8 +64,8 @@ The encoding of the file is utf-8. Both Unix (`\n`) and windows (`\r\n`) newline C and C++ file comments are supported. -* Anything after `// ` and before a newline is considered a comment. -* Everything between `/*` and `*/` is a comment. + * Anything after `// ` and before a newline is considered a comment. + * Everything between `/*` and `*/` is a comment. Comments can be nested and the C comments can be inline. diff --git a/Examples/test_script_mode_delim.sh b/Examples/test_script_mode_delim.sh index ebc77662..ff3bfff8 100755 --- a/Examples/test_script_mode_delim.sh +++ b/Examples/test_script_mode_delim.sh @@ -1,13 +1,13 @@ #!/usr/bin/env bash -if [ "$@" = "quit" ] +if [[ "$@" = "quit" ]] then exit 0 fi # Override the previously set prompt. # We only want to do this on first call of script. -if [ $ROFI_RETV = 0 ] +if [[ $ROFI_RETV = 0 ]] then echo -en "\x00delim\x1f\\x1\n" fi diff --git a/README.md b/README.md index ed78c76a..e2a23962 100644 --- a/README.md +++ b/README.md @@ -122,14 +122,14 @@ consult manpages, [discussion](https://github.com/davatorium/rofi/discussions) and [issue tracker](https://github.com/davatorium/rofi/issues?q=) before filing new issue. - * Manpages: - * [rofi](doc/rofi.1.markdown) - * [rofi-theme](doc/rofi-theme.5.markdown) - * [rofi-debugging](doc/rofi-debugging.5.markdown) - * [rofi-script](doc/rofi-script.5.markdown) - * [rofi-theme-selector](doc/rofi-theme-selector.1.markdown) - * [rofi-keys](doc/rofi-keys.5.markdown) - * [rofi-dmenu](doc/rofi-dmenu.5.markdown) +* Manpages: + * [rofi](doc/rofi.1.markdown) + * [rofi-theme](doc/rofi-theme.5.markdown) + * [rofi-debugging](doc/rofi-debugging.5.markdown) + * [rofi-script](doc/rofi-script.5.markdown) + * [rofi-theme-selector](doc/rofi-theme-selector.1.markdown) + * [rofi-keys](doc/rofi-keys.5.markdown) + * [rofi-dmenu](doc/rofi-dmenu.5.markdown) # Installation