Merge branch 'master' of github.com:dracula/tmux

resolved conflicts and added entries to INSTALL.md
This commit is contained in:
Uttarayan Mondal 2020-05-23 14:45:21 +05:30
commit e71b0d9e03
2 changed files with 3 additions and 1 deletions

View file

@ -20,4 +20,6 @@ Customize the status bar by adding any of these lines to your .tmux.conf as desi
* Disable weather functionality: `set -g @dracula-show-weather false` * Disable weather functionality: `set -g @dracula-show-weather false`
* Switch from default fahrenheit to celsius: `set -g @dracula-show-fahrenheit false` * Switch from default fahrenheit to celsius: `set -g @dracula-show-fahrenheit false`
* 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
* 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 charachter.

View file

@ -69,7 +69,7 @@ battery_status()
;; ;;
esac esac
if [ "$status" = "discharging" ] || [ "$status" = "Discharging" ]; then if [[ "$status" = 'discharging' ]] || [[ "$status" = 'Discharging' ]]; then
echo '' echo ''
else else
echo 'AC ' echo 'AC '