Skip to content
📱 La Capitaine icons on Android!
Python Kotlin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app
gradle/wrapper
images
la-capitaine-icon-theme @ 6d0dae5
.gitignore
.gitmodules
LICENSE
NOTES.md
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
res.py
res.yml
settings.gradle

README.md

La Capitaine Android

Icon pack for Android using the La Capitaine icons.

Icon List (1) Icon List (2) Icon List (3)

This is still in a super early stage and currently only works with Lawnchair launcher. Support for more launchers should be as simple as adding a few <intent-filter>s to AndroidManifest.xml, see here.

Naturally I will add icons for the apps I'm personally using first as that's the most straightforward way of making progess - I can directly test it on my device. A few popular Google and messenger apps are already included as well.

Any help is highly appreciated!

Requirements

Installation

There's no release of this app on the Google Play Store or F-Droid yet, although that might happen in the future.

Run python3 res.py build which will create the files xml/appfilter.xml and xml/drawable.xml as well as rendering all used SVG icons (from la-capitaine-icon-theme/apps/scalable) to PNG files.

Open the project in Android Studio, compile it and install it on your phone or emulator.

Make sure to select Launch: Nothing in the run configuration as the app has no launcher intent filter.

To remove the files created by the build script run python3 res.py clean.

Development

To add missing icons, you'll need:

  • The app package name
  • The name of the activity that's missing an icon (usually the main activity)
  • An icon from la-capitaine-icon-theme/apps/scalable that should be applied

Use a tool like Assist Mapper to obtain these details (this app is for assistant button re-mapping, but it shows package and activity names and highlights the main activity).

A new app entry in res.yml looks like this:

apps:
  - package: com.example.app
    activity: com.example.app.activities.MainActivity
    icon: example_icon

If example_icon doesn't exist yet, add it:

icons:
  example_icon: example-icon.svg

This way an icon that's being used by multiple apps has only be included once and general icons that don't belong to a specific app can be included as well.

Note that the activity domain doesn't necessarily match the package domain. Please keep the entries sorted alphabetically by package name.

Now, do the steps from the Installation section again. You're done!

Try restarting your launcher application if new icons don't appear immediately.

To Do

  • Currently, since icon files are rendered and saved per activity, there might be duplicates.

Authors

  • Linus Groh (@linusg) - Initial work on La Capitaine Android
  • Keefer Rourke (@keeferrourke) - Creator of the La Capitaine Icon Theme

License

This project is licensed under the GPLv3 license - see LICENSE file for details.

You can’t perform that action at this time.