updates wezterm config
This commit is contained in:
parent
7e48b724e5
commit
bd0612511d
3 changed files with 10 additions and 6 deletions
|
|
@ -5,9 +5,12 @@ local helpers = require("helpers")
|
|||
local M = {}
|
||||
|
||||
local function get_elements(for_window)
|
||||
local active_pane = for_window:active_pane()
|
||||
|
||||
return {
|
||||
{ Background = { Color = theme.colors().tab_bar.background } },
|
||||
{ Foreground = { Color = theme.colors().tab_bar.inactive_tab.fg_color } },
|
||||
{ Text = helpers.get_zoom_state(active_pane) },
|
||||
{ Text = "h:" .. wezterm.hostname() .. " " },
|
||||
{ Text = "upgrades:" .. helpers.get_outdated_packages() .. " " },
|
||||
{ Text = "bat:" .. helpers.get_primary_battery_state() .. " " },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue