Re:Hardcoded Folder Icons in macOS
by xyst on Thursday February 09, 2023 @03:26AM
(#34721176)
Personally going to start using the ~/Developer directory for all my projects now
[ Parent
| on HN ]
Re:Hardcoded Folder Icons in macOS
by frizzlebox on Thursday February 09, 2023 @03:48AM
(#34721289)
I’ve been doing this for years, it’s a nice touch!
Don’t forget to update the folder permissions to be like the others in your home directory. By default all users of your machine will have read access to the ~/Developer folder you create.
And while you’re at it, might as well pin that folder to the left side of Finder.
Too bad its first letter collides with Desktop, Downloads and Documents, all of which cannot be removed. One of the little details I miss from Linux.
I usually call that directory just "dev", and use lowercase names for all custom directories so zsh completion actually works.
Re:Hardcoded Folder Icons in macOS
by marionauta on Thursday February 09, 2023 @05:37AM
(#34722053)
What I do is create a symbolic link to the "Developer" folder called "src". Both folders have the custom icon, and I can `cd src/project`!
> Too bad its first letter collides with Desktop, Downloads and Documents, all of which cannot be removed.
For a "clean" home directory I started to visible hide default folders I have no interest in:
chflags hidden ~/Music
Still available in the shell or in the Finder with the ⇧⌘. shortcut but out of the way in normal use. Return to normal with the flag nohidden. Although Documents and Desktop seem to be a special case because of the iCloud shenanigans. I seem to have hidden them in the past, but can’t unhide them. :/Where do you keep your music?
Who keeps music?
There’s dozens of us
Re:Hardcoded Folder Icons in macOS
by jrochkind1 on Thursday February 09, 2023 @08:52AM
(#34723851)
me too! we should all meet for a beer sometime.
> For a "clean" home directory I started to visible hide default folders I have no interest in:
> chflags hidden ~/Music
I sort of do the opposite. I hide any folders I add to the home directory
chflags hidden ~/bin
chflags hidden ~/Applications
chflags hidden ~/sandbox
so that in the unlikely event anyone sees my home directory, there is absolutely nothing interesting about it. "This looks like a clean install. Nothing to see here."
Re:Hardcoded Folder Icons in macOS
by jrochkind1 on Thursday February 09, 2023 @08:51AM
(#34723835)
I've been using ~/code, but if I can get a fancy sidebar icon, why not switch?
Re:Hardcoded Folder Icons in macOS
by jbverschoor on Thursday February 09, 2023 @04:00PM
(#34731385)
Just set the icon yourself?
Re:Hardcoded Folder Icons in macOS
by jrochkind1 on Friday February 10, 2023 @12:14AM
(#34735890)
There is no way I am aware of to set the icon in the sidebar, the consensus of the thread here seems to be that there is no such way.