mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 15:00:32 +01:00
wezterm styling
This commit is contained in:
parent
7ddb352bc5
commit
ebbeb8eda8
|
@ -114,11 +114,12 @@ wezterm.on('update-status', function(window, pane)
|
|||
|
||||
local bat = ''
|
||||
for _, b in ipairs(wezterm.battery_info()) do
|
||||
bat = '|🔋 ' .. string.format('%.0f%%', b.state_of_charge * 100) .. ' | '
|
||||
-- bat = '|🔋 ' .. string.format('%.0f%%', b.state_of_charge * 100) .. ' | '
|
||||
bat = '| BAT ' .. string.format('%.0f%%', b.state_of_charge * 100) .. ' | '
|
||||
end
|
||||
|
||||
window:set_right_status(wezterm.format {
|
||||
{ Text = bat .. date },
|
||||
{ Text = bat .. date .. ' 🐱 |' },
|
||||
})
|
||||
end)
|
||||
wezterm.on('update-status', function(window, pane)
|
||||
|
|
Loading…
Reference in a new issue