repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

better wezterm font and prompt icons

f5db6dc0a3ebcb99b96061be80397aa35c36764c

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

unsigned

Browse filesCompare with HEAD

Changed files (2)

nushell/modules/prompt.nu

Modified
4 4 # Map of paths to icons.
5 5 # These will be used to replace certain path segments in the prompt for example.
6 6 # Order these paths for precedence.
7 7 def icons [] {
9 9 [ path icon ];
10 - [ "/home/oli/Notes" (char -u "1f4d3") ]
11 - [ "/home/bugabinga/Notes" (char -u "1f4d3") ]
12 - [ "C:\\Users\\okr\\Notes" (char -u "1f4d3") ]
13 - [ "/home/oli/Workspace" (char -u "1f4bb") ]
14 - [ "/home/bugabinga/Workspace" (char -u "1f4bb") ]
15 - [ "C:\\Users\\okr\\Workspaces" (char -u "1f4bb") ]
16 - [ "/home/oli" (char nf_house2) ]
17 - [ "/home/bugabinga" (char nf_house2) ]
18 - [ "C:\\Users\\okr" (char nf_house2) ]
11 + [ "/home/oli/Notes" (char -u "03C0") ]
12 + [ "/home/bugabinga/Notes" (char -u "03C0") ]
13 + [ "C:\\Users\\okr\\Notizen" (char -u "03C0") ]
15 + [ "/home/oli/Workspace" (char -u "03BB") ]
16 + [ "/home/bugabinga/Workspace" (char -u "03BB") ]
17 + [ "C:\\Users\\okr\\Workspaces" (char -u "03BB") ]
19 + [ "/home/oli" (char home) ]
20 + [ "/home/bugabinga" (char home) ]
21 + [ "C:\\Users\\okr" (char home) ]

wezterm/wezterm.lua

Modified
16 16 font_size = 12
17 17 elseif hostname == 'PC-00625' then
18 18 font_size = 14
19 - font = wez.font 'Cascadia Mono'
19 + font = wez.font 'Cascadia Code'
20 20 window_decorations = 'TITLE|RESIZE'