Skip to content

Instantly share code, notes, and snippets.

View panki27's full-sized avatar
🪐
Exploring planets

Felix Pankratz panki27

🪐
Exploring planets
View GitHub Profile
@panki27
panki27 / .wezterm.lua
Last active June 9, 2024 13:10
Static emoji for every wezterm pane/tab
-- most of the heavy lifting provided by https://gist.github.com/gsuuon/5511f0aa10c10c6cbd762e0b3e596b71
-- here is my only adaptation to add the active pane emoji to the tab bar:
local function tab_title(tab_info)
local title = tab_info.tab_title
local icon = tab_info.active_pane.user_vars.ICON
if icon then
return icon .. ' ' .. tab_info.active_pane.title:gsub("%.exe", "")
else
return tab_info.active_pane.title:gsub("%.exe", "")