repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

nice font be nice

909c2e34d707045a10be435ae7bd4dc9ddf88223

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (2)

wezterm/bugabinga/code_fonts.csv

Modified
53 53 1,Luculent
54 54 3,Luxi Mono
55 55 1,M+ 1m
56 -14,M+ 1mn
56 +47,M+ 1mn
57 57 14,M+ 2m
58 58 1,Martian Mono
59 59 1,Mensch

wezterm/bugabinga/title.lua

Added
new file mode 100644
1 +local wez = require 'wezterm'
3 +local icons = {
4 + '',
5 + '',
6 + '',
7 + '',
8 + '',
9 + '',
10 + '',
11 + '',
12 + '',
15 +wez.on('format-window-title', function(tab, pane, tabs, panes, config)
16 + local zoomed = ''
17 + if tab.active_pane.is_zoomed then
18 + zoomed = '[Z] '
19 + end
21 + local index = ''
22 + if #tabs > 1 then
23 + index = string.format('[%d/%d] ', tab.tab_index + 1, #tabs)
24 + end
26 + return zoomed .. index .. tab.active_pane.title
27 +end)