mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-07 07:54:08 +09:00
codex bar
This commit is contained in:
@@ -83,13 +83,8 @@ local function showUsage(item, refreshError)
|
|||||||
barWidget.setText(
|
barWidget.setText(
|
||||||
"5h:"
|
"5h:"
|
||||||
.. percent(primary.usedPercent)
|
.. percent(primary.usedPercent)
|
||||||
.. "("
|
.. " - 7d:"
|
||||||
.. primaryReset
|
|
||||||
.. ") - 7d:"
|
|
||||||
.. percent(secondary.usedPercent)
|
.. percent(secondary.usedPercent)
|
||||||
.. "("
|
|
||||||
.. secondaryReset
|
|
||||||
.. ")"
|
|
||||||
)
|
)
|
||||||
local tooltip = {
|
local tooltip = {
|
||||||
{ "5-hour usage", percent(primary.usedPercent) .. " · resets in " .. primaryReset },
|
{ "5-hour usage", percent(primary.usedPercent) .. " · resets in " .. primaryReset },
|
||||||
|
|||||||
Reference in New Issue
Block a user