Skip to content

feat: add Apply to Lawnchair button - #3602

Draft
wellorbetter wants to merge 1 commit into
LawnchairLauncher:developfrom
wellorbetter:feat/apply-to-lawnchair
Draft

feat: add Apply to Lawnchair button#3602
wellorbetter wants to merge 1 commit into
LawnchairLauncher:developfrom
wellorbetter:feat/apply-to-lawnchair

Conversation

@wellorbetter

Copy link
Copy Markdown

Description

Add an "Apply to Lawnchair" button to the home toolbar, allowing users to directly apply Lawnicons as their icon pack in
Lawnchair without navigating to Lawnchair settings.

This is the Lawnicons-side implementation for [LawnchairLauncher/lawnchair#6594](https://github.com/LawnchairLauncher/
lawnchair/issues/6594). The Lawnchair-side implementation is at [LawnchairLauncher/lawnchair#6643](https://github.com/
LawnchairLauncher/lawnchair/pull/6643).

  • Add Palette icon for the toolbar button
  • Add declaration for the intent (Android 11+)
  • Show snackbar if Lawnchair is not installed

@github-actions github-actions Bot added code General code changes. locale Language adaptation. labels Apr 19, 2026
Add a toolbar button that sends app.lawnchair.APPLY_ICONS intent to
Lawnchair, allowing users to directly apply Lawnicons as their icon
pack without navigating to Lawnchair settings.

- Add Palette icon for the toolbar button
- Add queries declaration for the intent (Android 11+)
- Show snackbar if Lawnchair is not installed
@x9136

x9136 commented Apr 19, 2026

Copy link
Copy Markdown
Collaborator

Since you're forcing this issue, I need to redesign the toolbar, because 6 elements is too much.

There are questions.

  1. How will it work for other icon packs? It's unlikely that you will add buttons to each one.
  2. Will this only work for Lawnchair or for any launcher that allows you to apply icons from the icon pack app?

@wellorbetter

Copy link
Copy Markdown
Author

Since you're forcing this issue, I need to redesign the toolbar, because 6 elements is too much.

There are questions.

  1. How will it work for other icon packs? It's unlikely that you will add buttons to each one.
  2. Will this only work for Lawnchair or for any launcher that allows you to apply icons from the icon pack app?

I agree the toolbar might be getting crowded. I haven't contributed to Lawnicons before — this PR was mainly to validate the
Lawnchair-side implementation. Do you have any suggestions on where to place it or how to approach this?

For context, the flow is: user taps the button → Lawnchair receives the intent and shows a confirmation BottomSheet on its side → user confirms or dismisses.

@x9136

x9136 commented Apr 19, 2026

Copy link
Copy Markdown
Collaborator

Do you have any suggestions on where to place it or how to approach this?

Yes, I have an idea, but if the whole feature is applicable not only for Lawnchair, then this should be taken into account. For example:

  • If I can apply icons from the Lawnicons app in the Smart Launcher, then the text linked to the Lawnchair is no longer suitable.
  • If I can apply icons from the Lawnicons app only in Lawnchair, then it's better to hide this action in Lawnicons if Lawnchair isn't installed, rather than showing the snackbar.

Also, speaking of other icon packs, if the refinement in Lawnchair leads to the pop-up being shown in other icon packs, then it's better to do the feature itself differently, so the refinement of Lawnicons may become different.

@wellorbetter

Copy link
Copy Markdown
Author

Do you have any suggestions on where to place it or how to approach this?

Yes, I have an idea, but if the whole feature is applicable not only for Lawnchair, then this should be taken into account. For example:

  • If I can apply icons from the Lawnicons app in the Smart Launcher, then the text linked to the Lawnchair is no longer suitable.
  • If I can apply icons from the Lawnicons app only in Lawnchair, then it's better to hide this action in Lawnicons if Lawnchair isn't installed, rather than showing the snackbar.

Also, speaking of other icon packs, if the refinement in Lawnchair leads to the pop-up being shown in other icon packs, then it's better to do the feature itself differently, so the refinement of Lawnicons may become different.

Makes sense — a generic "Apply" entry that detects which launchers support it at runtime, shows a picker if multiple are available, and hides itself when none are installed.

This would mean maintaining a list of supported launcher intents on the Lawnicons side, and each launcher needs to handle the intent on their end. Currently only Lawnchair supports this, but the approach would be extensible.

Also, where would you suggest placing the entry?

@x9136

x9136 commented Apr 19, 2026

Copy link
Copy Markdown
Collaborator

Also, where would you suggest placing the entry?

I was planning this revision to clean up the Lawnicons UI. It's not entirely about your improvement, but part of it is.

@x9136 x9136 mentioned this pull request Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code General code changes. locale Language adaptation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants