repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

fonts: some fun with more coding fonts.

120360ceead8c95be9aef301efdc661034392de5

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (8)

wezterm/bugabinga/code_font.lua

Added
new file mode 100644
1 +local wez = require 'wezterm'
3 +return {
4 + random = function ()
5 + local font_names = {}
6 + local nerdfonts = io.open( wez.config_dir .. '/bugabinga/code_fonts', 'r' )
7 + if nerdfonts then
8 + for font_name in nerdfonts:lines() do
9 + if not font_name:match '^#.*' then
10 + table.insert( font_names, font_name )
11 + end
12 + end
13 + local random_font = font_names[math.random( #font_names )]
14 + return wez.font( random_font )
15 + end
16 + return wez.font 'JetBrains Mono'
17 + end,

wezterm/bugabinga/code_fonts

Added
new file mode 100644
1 +Anonymous Pro
2 +Anonymous Pro Minus
3 +Aurulent Sans Mono
4 +AverageMono
5 +BPmono
6 +BigBlue TerminalPlus
7 +Bitstream Vera Sans Mono
8 +Bront
9 +CMU Typewriter Text
10 +CPMono_v07
11 +CamingoCode
12 +Cascadia Code
13 +Code New Roman
14 +CodingFontTobi
15 +Consola Mono
16 +Courier Prime Code
17 +Cousine
18 +Crisp
19 +Cutive Mono
20 +D2Coding
21 +DejaVu Sans Mono
22 +Dina ttf 10px
23 +Droid Sans Mono
24 +Edlo
25 +Envy Code R
26 +Fantasque Sans Mono
27 +Fira Code
28 +Fira Mono
29 +Fixedsys Excelsior 3.01
30 +FreeMono
31 +Geist Mono
32 +Generic Mono II
33 +GohuFont
34 +Hack
35 +Hasklig
36 +Hermit
37 +# IBM Plex Math
38 +IBM Plex Mono
39 +# IBM Plex Sans
40 +# IBM Plex Sans Condensed
41 +# IBM Plex Serif
42 +Inconsolata
43 +Inconsolata LGC
44 +Inconsolata-dz
45 +Inconsolata-g
46 +Intel One Mono
47 +Iosevka
48 +Iosevka Slab
49 +JetBrains Mono
50 +JetBrains Mono NL
51 +Kawkab Mono
52 +Latin Modern Mono Light
53 +Lekton
54 +Liberation Mono
55 +Lilex
56 +Linux Libertine Mono
57 +Luculent
58 +Luxi Mono
59 +M+ 1m
60 +M+ 1mn
61 +M+ 2m
62 +Martian Mono
63 +Mensch
64 +Meslo LG M DZ
65 +Metrickal
66 +Monaspace Argon Var
67 +Monaspace Krypton Var
68 +Monaspace Neon Var
69 +Monaspace Radon Var
70 +Monaspace Xenon Var
71 +MonoSpatial
72 +Monoid
73 +Monospace
74 +MonospaceTypewriter
75 +MonteCarlo Fixed 12
76 +NanumGothic_Coding
77 +Nimbus Mono
78 +NotCourierSans
79 +Office Code Pro
80 +Office Code Pro D
81 +Oxygen Mono
82 +PT Mono
83 +Panic Sans
84 +PixelCarnageMonoTT
85 +Pointfree
86 +ProFontWindows
87 +ProggyCleanTT
88 +ProggyCleanTTSZ
89 +ProggySmallTT
90 +ProggySquareTT
91 +ProggySquareTTSZ
92 +ProggyTinyTT
93 +ProggyTinyTTSZ
94 +Rec Mono Casual
95 +Rec Mono Linear
96 +Roboto Mono
97 +SV Basic Manual
98 +Share Tech Mono
99 +Share-TechMonoTrue
100 +SmallTypeWriting
101 +Source Code Pro
102 +Sudo
103 +Symbols Nerd Font
104 +Symbols Nerd Font Mono
105 +TeX Gyre Cursor
106 +Terminus
107 +Ubuntu Mono
108 +Verily Serif Mono
109 +Victor Mono
110 +Whois
111 +agave
112 +iA Writer Mono V
113 +monoOne
114 +monofur
115 +mononoki
116 +saxMono

wezterm/bugabinga/hosts/NB-00718.lua

Modified
1 +local code_font = require 'bugabinga.code_font'
1 3 return function ( cfg )
4 + cfg.font = code_font.random();
2 6 cfg.default_domain = { 'WSL:Fedora', }
3 7 cfg.default_mux_server_domain = { 'WSL:Fedora', }
4 8 cfg.default_prog = { 'powershell', '-NoLogo', }

wezterm/bugabinga/hosts/fedora.lua

Modified
1 -local nerd_font = require 'bugabinga.nerd_font'
1 +local code_font = require 'bugabinga.code_font'
3 3 return function ( cfg )
4 - cfg.font = nerd_font.random();
4 + cfg.font = code_font.random();
6 6 cfg.background = {

wezterm/bugabinga/hosts/x230.lua

Modified
1 -local nerd_font = require 'bugabinga.nerd_font'
1 +local code_font = require 'bugabinga.code_font'
3 3 return function(cfg)
4 - cfg.font = nerd_font.random();
4 + cfg.font = code_font.random();
5 5 end

wezterm/bugabinga/nerd_font.lua

Deleted
deleted file mode 100644
1 -local wez = require 'wezterm'
3 -return {
4 - random = function ()
5 - local font_names = {}
6 - local nerdfonts = io.open( wez.config_dir .. '/bugabinga/nerdfonts', 'r' )
7 - if nerdfonts then
8 - for font_name in nerdfonts:lines() do
9 - if not font_name:match '^#.*' then
10 - table.insert( font_names, font_name )
11 - end
12 - end
13 - local random_font = font_names[math.random( #font_names )]
14 - return wez.font( random_font )
15 - end
16 - return wez.font 'JetBrains Mono'
17 - end,
18 -}

wezterm/bugabinga/nerdfonts

Deleted
deleted file mode 100644
1 -Bitstream Vera Sans Mono
2 -# Terminus
3 -Anonymous Pro
4 -Aurulent Sans Mono
5 -# BigBlueTerminalPlus
6 -Cascadia Code
7 -Cousine
8 -D2Coding
9 -DejaVu Sans Mono
10 -Droid Sans Mono
11 -Envy Code R
12 -Fantasque Sans Mono
13 -# FiraCode
14 -GeistMono
15 -Hack
16 -Hasklig
17 -Hermit
18 -# IBM 3270
19 -IBM Plex Mono
20 -# Inconsolata
21 -Intel One Mono
22 -JetBrainsMono
23 -Lekton
24 -# Liberation Mono
25 -Lilex
26 -MartianMono
27 -Monaspace Argon Var
28 -Monaspace Krypton Var
29 -Monaspace Neon Var
30 -Monofur
31 -Monoid
32 -Mononoki
33 -Rec Mono Casual
34 -Rec Mono Linear
35 -RobotoMono
36 -Share Tech Mono
37 -Source Code Pro
38 -VictorMono
39 -iA Writer Mono V

x230.symlinks

Modified
73 73 hypr
74 74 ~/.config/hypr
76 +pueue
77 +~/.config/pueue
79 +pueue/pueued.service
80 +~/.config/systemd/user/pueued.service