-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply Arcticons You on folder icon in Discreet Launcher #1859
Comments
If it has an intent (com.discretelauncher.something), we could make an icon for it. Maybe the dev @falzonv know's if it's possible :) |
|
@TotallyAvailable uhhhh, anything we can do with this block of code? |
Just part of how the Launcher seems to create the folder icons on demand. Unless there's a link somewhere in the Icon Pack related code that looks for a suitable icon in the applied pack to use instead of the default internal one, it might not be as easy as just binding to an intent or activity. Might be completely wrong here of course. My initial comment actually included a couple more thoughts that I scrapped in the end as either potentially wrong or not viable as solution. Not that I'm currently more confident about anything above.
Without the on demand generation it should've been easy to just have it pick one up here/add custom (discreetlauncher.folder + number of items inside) entries. |
The intent created for a folder is {discreetlauncher.folder/discreetlauncher.folder[folder name]}, so the launcher would have to be modified for this to work. But it should be pretty easy to implement, I will try to do a PR |
The PR: falzonv/discreet-launcher#322 We must hope that the dev will accept this |
Even if the 'bind to number' won't make it as default, just adding entries with commonly used folder names would work as well. |
Wow, thanks @kaanelloed that's amazing! |
@TotallyAvailable In any case, right now Discreet Launcher doesn't search icon packs for the folder. So we need to make a PR anyway. I'm not sure how useful it would be to search folder name, but if we find use case, we can make another PR that searches for folder name first and then for number of apps it contains. |
Absolutely While the additional option for custom folder bindings would be fancy, I obviously don't even know how the launcher currently handles adaptive icon packs if the user assigned an icon manually. Again a lot of ifs and I don't even use Discreet. |
If Arcticons needs code, maybe it's better to apply it to the Candybar project as a whole. That way other icon packs can utilize it too :) |
Hello guys, I am really sorry for the late answer! Thank you @kaanelloed for the very good PR :-) Some info about the current behavior:
Regarding the discussed options:
Perhaps another strategy could be to try picking only the base icon in the pack? And on the icon pack side:
What do you think about this? Best regards. (Note: I prefer not to say how long it took me to write all the above, which I think is necessary for the discussion, but don't expect too quick replies...) |
Hi @falzonv thanks for all your hard work and detailed explanations of your implementation. Sounds fantastic to me, also sorry for the late reply 😅 I've added the intent to Arcticons so it should work when you push a new update. |
Hi @Donnnno, Thank you for the kind words and the addition of the intent :-) With also some delay on my side since the merge of the PR, the new release is now published and should be available soon in F-Droid and Google Play. Best regards |
I think it's because version 9.0.0 have a double "{" in the component info : It's fixed in the main branch, so it should work in the next release. |
Hi, Discreet Launcher allows folders. Is there a way to apply Arcticons You on that?
The text was updated successfully, but these errors were encountered: