From a96c8255154758736f3d5fdac69fc29e08d0ae00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Tafla?= Date: Wed, 25 Oct 2023 14:38:54 -0700 Subject: [PATCH] Spell checked INSTALL.md Documented `hostname` option for @dracula-show-left-icon Added `shortname` option to @dracula-show-left-icon --- INSTALL.md | 4 ++-- scripts/dracula.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 8e04980..2313fab 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -75,7 +75,7 @@ Switch powerline symbols # for left set -g @dracula-show-left-sep  -# for right symbol (can set any symbol you like as seperator) +# for right symbol (can set any symbol you like as separator) set -g @dracula-show-right-sep  ``` @@ -95,7 +95,7 @@ set -g @dracula-refresh-rate 5 Switch the left smiley icon ```bash -# it can accept `session`, `smiley`, `window`, or any character. +# it can accept `hostname` (full hostname), `session`, `shortname` (short name), `smiley`, `window`, or any character. set -g @dracula-show-left-icon session ``` diff --git a/scripts/dracula.sh b/scripts/dracula.sh index 7639e63..544f736 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -56,6 +56,8 @@ main() left_icon="#W";; hostname) left_icon="#H";; + shortname) + left_icon="#h";; *) left_icon=$show_left_icon;; esac