Merge pull request #157 from pholawat-tle/master
This commit is contained in:
commit
5b282b043f
2 changed files with 11 additions and 0 deletions
|
@ -128,6 +128,14 @@ set -g @dracula-cpu-display-load true
|
||||||
CPU usage percentage (default) - in percentage (output: %)
|
CPU usage percentage (default) - in percentage (output: %)
|
||||||
Load average – is the average system load calculated over a given period of time of 1, 5 and 15 minutes (output: x.x x.x x.x)
|
Load average – is the average system load calculated over a given period of time of 1, 5 and 15 minutes (output: x.x x.x x.x)
|
||||||
|
|
||||||
|
#### battery options
|
||||||
|
|
||||||
|
Customize label
|
||||||
|
|
||||||
|
```bash
|
||||||
|
set -g @dracula-battery-label "Battery"
|
||||||
|
```
|
||||||
|
|
||||||
#### gpu-usage options
|
#### gpu-usage options
|
||||||
|
|
||||||
Customize label
|
Customize label
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
# setting the locale, some users have issues with different locales, this forces the correct one
|
# setting the locale, some users have issues with different locales, this forces the correct one
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
|
current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
source $current_dir/utils.sh
|
||||||
|
|
||||||
linux_acpi() {
|
linux_acpi() {
|
||||||
arg=$1
|
arg=$1
|
||||||
BAT=$(ls -d /sys/class/power_supply/BAT* | head -1)
|
BAT=$(ls -d /sys/class/power_supply/BAT* | head -1)
|
||||||
|
|
Loading…
Reference in a new issue