diff options
| author | 2026-03-30 15:48:09 -0700 | |
|---|---|---|
| committer | 2026-03-30 15:48:09 -0700 | |
| commit | ab3879a5ef9a3f8add7b0783d0b51d53ab3d5b83 (patch) | |
| tree | 2253d471958925fa34db9d94430ce8ebc1c45efc | |
| parent | 71b135395c52142c1c6333847dad558bc8271609 (diff) | |
| download | new-dotfiles-ab3879a5ef9a3f8add7b0783d0b51d53ab3d5b83.tar.gz new-dotfiles-ab3879a5ef9a3f8add7b0783d0b51d53ab3d5b83.zip | |
glide/tabbar: Update tab bar when window focus changes
| -rw-r--r-- | glide/.config/glide/tabbar.glide.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/glide/.config/glide/tabbar.glide.ts b/glide/.config/glide/tabbar.glide.ts index b542604..3ad7817 100644 --- a/glide/.config/glide/tabbar.glide.ts +++ b/glide/.config/glide/tabbar.glide.ts @@ -176,7 +176,11 @@ browser.tabs.onCreated.addListener(async () => { browser.tabs.onRemoved.addListener(async () => { await update_status_bar() -}) +}); + +browser.windows.onFocusChanged.addListener(async (windowId) => { + await update_status_bar(); +}); glide.styles.add(` #${status_bar_id} { |
