Spell checked INSTALL.md

Documented `hostname` option for @dracula-show-left-icon
Added `shortname` option to @dracula-show-left-icon
This commit is contained in:
José Tafla 2023-10-25 14:38:54 -07:00
parent 77bad73881
commit a96c825515
2 changed files with 4 additions and 2 deletions

View file

@ -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
```

View file

@ -56,6 +56,8 @@ main()
left_icon="#W";;
hostname)
left_icon="#H";;
shortname)
left_icon="#h";;
*)
left_icon=$show_left_icon;;
esac