diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2018-12-02 20:33:38 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2018-12-02 20:33:38 -0500 |
| commit | c22a8e838f24eabbfa469a8c1de4484cd07d7e96 (patch) | |
| tree | d37ba0790742a1324548988b4f33a28f3c71137a /.scripts/statusbar/i3battery | |
| parent | 5575c67ef42074f2354090ffb1074b6a2c762f88 (diff) | |
| download | eibhear-c22a8e838f24eabbfa469a8c1de4484cd07d7e96.tar.gz eibhear-c22a8e838f24eabbfa469a8c1de4484cd07d7e96.tar.zst eibhear-c22a8e838f24eabbfa469a8c1de4484cd07d7e96.zip | |
gruvbox conversion total
Diffstat (limited to '.scripts/statusbar/i3battery')
| -rwxr-xr-x | .scripts/statusbar/i3battery | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.scripts/statusbar/i3battery b/.scripts/statusbar/i3battery index ba73baa..b485d9a 100755 --- a/.scripts/statusbar/i3battery +++ b/.scripts/statusbar/i3battery @@ -15,15 +15,15 @@ capacity=$(cat /sys/class/power_supply/"$1"/capacity) || exit status=$(cat /sys/class/power_supply/"$1"/status) if [ "$capacity" -ge 80 ]; then - color="#00FF00" + color="#b8bb26" elif [ "$capacity" -ge 60 ]; then - color="#FFFFFF" + color="#ebdbb2" elif [ "$capacity" -ge 40 ]; then - color="#FFF600" + color="#fabd2f" elif [ "$capacity" -ge 20 ]; then - color="#FFAE00" + color="#fe8019" else - color="#FF0000" + color="#fb4934" warn="❗" fi |
