home
/
code
/
khatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa45cd8
)
Pass ttl explicitly
author
Siraaj Khandkar
<siraaj@khandkar.net>
Thu, 16 Aug 2018 17:03:35 +0000
(13:03 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Thu, 16 Aug 2018 17:03:35 +0000
(13:03 -0400)
bin/khatus_bar
patch
|
blob
|
blame
|
history
diff --git
a/bin/khatus_bar
b/bin/khatus_bar
index
bddf0b9
..
d62f5d5
100755
(executable)
--- a/
bin/khatus_bar
+++ b/
bin/khatus_bar
@@
-115,8
+115,8
@@
function make_status_bar( position, bar, sep, i, j) {
}
function make_status_energy( state, charge, direction_of_change) {
- state = Data_get("khatus_sensor_energy", "battery_state")
- charge = Data_get("khatus_sensor_energy", "battery_percentage")
+ state = Data_get("khatus_sensor_energy", "battery_state"
, 0
)
+ charge = Data_get("khatus_sensor_energy", "battery_percentage"
, 0
)
if (state == "discharging") {
direction_of_change = "<"
This page took
0.024985 seconds
and
4
git commands to generate.