From 919ffc237e8533b7c3c8d67fcef4c3da37594d45 Mon Sep 17 00:00:00 2001 From: Kevin Silvester Date: Tue, 24 Dec 2024 02:53:46 +0000 Subject: [PATCH] chore: change tab-title unseen_icon to circle + fix comments --- config/domains.lua | 2 +- events/tab-title.lua | 3 +-- wezterm.lua | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/domains.lua b/config/domains.lua index c453640..462741f 100644 --- a/config/domains.lua +++ b/config/domains.lua @@ -2,7 +2,7 @@ return { -- ref: https://wezfurlong.org/wezterm/config/lua/SshDomain.html -- ssh_domains = {}, ssh_domains = { - -- yazi's image on Windows will only work if launched in WSL + -- yazi's image preview on Windows will only work if launched via ssh from WSL { name = 'wsl.ssh', remote_address = 'localhost', diff --git a/events/tab-title.lua b/events/tab-title.lua index 27112aa..62f4379 100644 --- a/events/tab-title.lua +++ b/events/tab-title.lua @@ -13,8 +13,7 @@ local EventOpts = require('utils.event_opts') ---@alias Event.TabTitleOptions { unseen_icon: 'circle' | 'numbered_circle' | 'numbered_box', hide_active_tab_unseen: boolean } --- ---Setup options for the tab title - +---Setup options for the tab title local EVENT_OPTS = {} ---@type OptsSchema diff --git a/wezterm.lua b/wezterm.lua index 5d2aa80..0daeca2 100644 --- a/wezterm.lua +++ b/wezterm.lua @@ -8,7 +8,7 @@ require('utils.backdrops') require('events.left-status').setup() require('events.right-status').setup({ date_format = '%a %H:%M:%S' }) -require('events.tab-title').setup({ hide_active_tab_unseen = true, unseen_icon = 'numbered_circle' }) +require('events.tab-title').setup({ hide_active_tab_unseen = false, unseen_icon = 'circle' }) require('events.new-tab-button').setup() return Config:init()