From ebbeb8eda8561442704f971158c886c1ad73e1dd Mon Sep 17 00:00:00 2001 From: xqtc Date: Sat, 26 Oct 2024 16:41:19 +0200 Subject: [PATCH] wezterm styling --- home/config-files/wezterm.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/config-files/wezterm.lua b/home/config-files/wezterm.lua index c97d67d..fb8088f 100644 --- a/home/config-files/wezterm.lua +++ b/home/config-files/wezterm.lua @@ -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)