Skip to content

Add ability to have custom icons for shortcuts#43

Merged
agnostic-apollo merged 3 commits intotermux:masterfrom
AbdullahM0hamed:icon
Jul 29, 2021
Merged

Add ability to have custom icons for shortcuts#43
agnostic-apollo merged 3 commits intotermux:masterfrom
AbdullahM0hamed:icon

Conversation

@AbdullahM0hamed
Copy link
Contributor

@AbdullahM0hamed AbdullahM0hamed commented Jun 24, 2020

Requires icon be placed in ~/.shortcuts/icons and have the name of the script with a .png extension.

Closes #41.

@ArjixWasTaken
Copy link

i need this too

@alexandre-mbm
Copy link

Merge it please! But, a hint: icons instead of .icons.

@AbdullahM0hamed
Copy link
Contributor Author

@alexandre-mbm
I actually made the change from icons to .icons deliberately because it hides the icons folder from the Termux widget which I personally like, but if icons is preferable I suppose I'll change it back

@aminehmida
Copy link

Any updates on this? I would love to see this merged too!

@Shivam623
Copy link

Any update on this. I have install different few app to do that for me. Unnecessarily. It makes sense if we add this.

@ManApart
Copy link

I'd also like to see this merged in!

@iNtEgraIR2021
Copy link

@agnostic-apollo @fornwall any news on this? the last comment by @AbdullahM0hamed on this issue was posted nearly a year ago by now.

@agnostic-apollo agnostic-apollo merged commit 1287072 into termux:master Jul 29, 2021
@agnostic-apollo
Copy link
Member

@AbdullahM0hamed Thanks for this, seems to be working. Lets all meet up an year later for a release.

@sudomain
Copy link

sudomain commented Aug 7, 2021

Thank you for this. It seems .jpgs which have been renamed to have the .png extension work as well. What are the minimum/maximum dimensions required for the icon?

@agnostic-apollo
Copy link
Member

agnostic-apollo commented Aug 7, 2021

@sudomain For a 1080p ~6in screen, something like 96x96px should probably be fine, otherwise go with 144 or 196 for higher resolution screens. Sadly, very few of 1440p screens if any these days.

@codecreate-dev
Copy link

Thank you very much, I was just googling to see if this was possible. I seem to find new features in Termux every day lately!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to change widget icon

10 participants