Merge pull request #33 from ethancedwards8/master

Fixed 'session' option
This commit is contained in:
Dane Williams 2020-05-28 20:20:21 -07:00 committed by GitHub
commit ea5229c694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -22,5 +22,5 @@ Customize the status bar by adding any of these lines to your .tmux.conf as desi
* Enable powerline symbols: `set -g @dracula-show-powerline true` * Enable powerline symbols: `set -g @dracula-show-powerline true`
* Switch powerline symbols `set -g @dracula-show-left-sep ` for left and `set -g @dracula-show-right-sep ` for right symbol (can set any symbol you like as seperator) * Switch powerline symbols `set -g @dracula-show-left-sep ` for left and `set -g @dracula-show-right-sep ` for right symbol (can set any symbol you like as seperator)
* Enable military time: `set -g @dracula-military-time true` * Enable military time: `set -g @dracula-military-time true`
* Switch the left smiley icon `set -g @dracula-show-left-icon session` it can accept `session`, `smiley`, or any character. * Switch the left smiley icon `set -g @dracula-show-left-icon session` it can accept `session`, `smiley`, `window`, or any character.
* Enable high contrast pane border: `set -g @dracula-border-contrast true` * Enable high contrast pane border: `set -g @dracula-border-contrast true`

View file

@ -43,6 +43,8 @@ main()
smiley) smiley)
left_icon="☺ ";; left_icon="☺ ";;
session) session)
left_icon="#S ";;
window)
left_icon="#W ";; left_icon="#W ";;
*) *)
left_icon=$show_left_icon;; left_icon=$show_left_icon;;