Skip to content

Commit f8b8e84

Browse files
rux616martinbeentjes
authored andcommitted
Readme variable fix (#85)
* Fixed variable names inside README file * More fixed variables. * Updated some verbiage This should help to make some of the descriptions more clear.
1 parent 86952b2 commit f8b8e84

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ set -g status-right '#{battery_status_bg} Batt: #{battery_icon} #{battery_percen
5757

5858
### Supported Format Strings
5959

60-
- `#{battery_color_bg}` - will set the background color of the status bar based on the battery charge level and status
61-
- `#{battery_color_fg}` - will set the foreground color of the status bar based on the battery charge level and status
60+
- `#{battery_color_bg}` - will set the background color of the status bar based on the battery charge level if discharging and status otherwise
61+
- `#{battery_color_fg}` - will set the foreground color of the status bar based on the battery charge level if discharging and status otherwise
6262
- `#{battery_color_charge_bg}` - will set the background color of the status bar based solely on the battery charge level
6363
- `#{battery_color_charge_fg}` - will set the foreground color of the status bar based solely on the battery charge level
6464
- `#{battery_color_status_bg}` - will set the background color of the status bar based solely on the battery status
@@ -90,7 +90,7 @@ By default, the following colors and icons are used. (The exact colors displayed
9090

9191
Please be aware that the 'level of charge' as noted below (e.g. `[80%-95%)`) uses interval notation. If you are unfamiliar with it, <a href="https://en.wikipedia.org/wiki/Bracket_(mathematics)#Intervals">check it out here</a>.
9292

93-
Also, a note about the `@batt_color_...` options: `@batt_color_..._primary` options are what will be displayed in the main `bg` or `fg` format strings you choose - e.g. if you use `#{battery_color_bg}`, the `@batt_color_..._primary` color you choose will be the background. Likewise, the corresponding `@batt_color_..._secondary` color will be the foreground.
93+
Also, a note about the `@batt_color_...` options: `@batt_color_..._primary_...` options are what will be displayed in the main `bg` or `fg` format strings you choose - e.g. if you use `#{battery_color_bg}`, the `@batt_color_..._primary_...` colors you choose will be the background. Likewise, the corresponding `@batt_color_..._secondary_...` color will be the foreground.
9494

9595
Level of Charge Colors:
9696

@@ -113,16 +113,16 @@ Level of Charge Colors:
113113

114114
Status Colors:
115115

116-
- primary charged (`@batt_color_primary_charged`): 'colour33'
117-
- primary charging (`@batt_color_primary_charging`): 'colour33'
118-
- primary discharging (`@batt_color_primary_discharging`): 'colour14'
119-
- primary attached (`@batt_color_primary_attached`): 'colour201'
120-
- primary unknown (`@batt_color_primary_unknown`): 'colour7'
121-
- secondary charged (`@batt_color_secondary_charged`): 'colour0'
122-
- secondary charging (`@batt_color_secondary_charging`): 'colour0'
123-
- secondary discharging (`@batt_color_secondary_discharging`): 'colour0'
124-
- secondary attached (`@batt_color_secondary_attached`): 'colour0'
125-
- secondary unknown (`@batt_color_secondary_unknown`): 'colour0'
116+
- primary charged (`@batt_color_status_primary_charged`): 'colour33'
117+
- primary charging (`@batt_color_status_primary_charging`): 'colour33'
118+
- primary discharging (`@batt_color_status_primary_discharging`): 'colour14'
119+
- primary attached (`@batt_color_status_primary_attached`): 'colour201'
120+
- primary unknown (`@batt_color_status_primary_unknown`): 'colour7'
121+
- secondary charged (`@batt_color_status_secondary_charged`): 'colour0'
122+
- secondary charging (`@batt_color_status_secondary_charging`): 'colour0'
123+
- secondary discharging (`@batt_color_status_secondary_discharging`): 'colour0'
124+
- secondary attached (`@batt_color_status_secondary_attached`): 'colour0'
125+
- secondary unknown (`@batt_color_status_secondary_unknown`): 'colour0'
126126

127127
Level of Charge Icons:
128128

@@ -137,12 +137,12 @@ Level of Charge Icons:
137137

138138
Status Icons:
139139

140-
- charged (`@batt_icon_charged`): '🔌'
141-
- charged - OS X (`@batt_icon_charged`): '🔌'
142-
- charging (`@batt_icon_charging`): '🔌'
143-
- discharging (`@batt_icon_discharging`): '🔋'
144-
- attached (`@batt_icon_attached`): '⚠️'
145-
- unknown (`@batt_icon_unknown`): '?'
140+
- charged (`@batt_icon_status_charged`): '🔌'
141+
- charged - OS X (`@batt_icon_status_charged`): '🔌'
142+
- charging (`@batt_icon_status_charging`): '🔌'
143+
- discharging (`@batt_icon_status_discharging`): '🔋'
144+
- attached (`@batt_icon_status_attached`): '⚠️'
145+
- unknown (`@batt_icon_status_unknown`): '?'
146146

147147
#### Changing the Defaults
148148

0 commit comments

Comments
 (0)