Closed duhdugg closed 1 year ago
Sorry to hear that you lost a beloved icon with the update.
As you already found out the change is due to the Octicons update.
They dropped a lot icons; and the remaining folder icons changed to a more modern look.
That you see now the bookmark-slashed and not a .notdef
(i.e. questionmark box) is because we reused the freed codepoints for newly added icons. The Octicons do not have native codepoints.
Unfortunately link-folder icons are not very widespread, so the only one left probably is this:
But the 'folder' part looks quite different of course. Probably using that would mean to switch all folder related icons to Codicons.
Related is the general modernisation look-change of the folders, mentioned here https://github.com/ryanoasis/nerd-fonts/issues/1190#issuecomment-1532632029, with its related issue #1207.
Probably an Issue needs to be raised at lsd
.
In principle we could of course keep the old style Octicons folder icons, but that would have to be with other codepoints, probably.
🤔 But that of course leads to maintenance hell... And if we do not follow updates of the sources, then we could stop updating at all. Hard.
I fear Octicons will not answer, and if they answer they will not change anything.
Can you create an Issue at lsd
so that we can discuss together with them what to do?
If we come to a solution within the next days it could go into v3.0.1
...
Maybe a good idea would be to add a symlink folder to the nf-cutom-
folders, there are already some. But to have a unified look lsd
would have to switch to that icons completely?
Edit: Add image
Or I can "hand draw" a combination of the updated Octicons (normal) folder and a link-arrow.
https://github.com/lsd-rs/lsd/blob/2fe3fcdd3564836962eab8ba6b1444996fe24e1e/src/theme/icon.rs#L85
Did any of the other also change meaning, we need a list of dropped/changed codepoints
Icon | in source font | codepoint in Nerd Font |
---|---|---|
Missing octoface | F008 | F406 |
Missing keyboard | F00D | F40B |
Missing gist | F00E | F40C |
Missing file-text | F011 | F40E |
Missing file-pdf | F014 | F411 |
Missing jersey | F019 | F416 |
Missing radio-tower | F030 | F424 |
Missing repo-force-push | F04A | F43E |
Missing mail-reply | F051 | F443 |
Missing arrow-small-right | F071 | F45C |
Missing gist-secret | F08C | F46C |
Missing no-newline | F09C | F476 |
Missing arrow-small-up | F09F | F478 |
Missing arrow-small-down | F0A0 | F479 |
Missing arrow-small-left | F0A1 | F47A |
Missing file-symlink-directory | F0B1 | F482 |
Missing circuit-board | F0D6 | F493 |
Missing watch | F0E0 | F49B |
Missing text-size | F0E3 | F49E |
Missing ellipses | F101 | F4A4 |
Missing plus-small | F104 | F4A7 |
Checking if they use more...
No. It is just the symlink-directory
$ grep -i 'f406|F40B|F40C|F40E|F411|F416|F424|F43E|F443|F45C|F46C|F476|F478|F479|F47A|F482|F493|F49B|F49E|F4A4|F4A7' ../../../icon.rs
symlink_dir: "\u{f482}".into(), //
This is a 'combination' of file-symlink-file
and file-directory
; what do you think?
I will prepare everything to have that in 3.0.1 in the usual place.
hi @Finii could you add this icon? I can pay for it if you want
hi @Finii could you add this icon? I can pay for it if you want
I'm not doing this for money. I help for free if I can and feel that this project is respected.
I saw the latest update in my OS this weekend. It looks great. Thanks.
I saw the latest update in my OS this weekend. It looks great. Thanks.
Thank you :heart:
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.
🗹 Requirements
🎯 Subject of the issue
Experienced behavior:
f482
was previously showing a symlink directory icon, and now shows a bookmark slash iconExpected behavior:
symlink icon
Example symbols:
🔧 Your Setup
★ Screenshots (Optional)
Before Upgrade (
ttf-firacode-nerd-2.3.3-3
)After Upgrade (
ttf-firacode-nerd-3.0.0-2
)Using the
lsd
command to generate the above screenshots, which shows this codepoint for symbolic link directories.Related Issue
Submitted this issue to the octicons project as well: https://github.com/primer/octicons/issues/945
Edit Fini: Changed codepoint number