diff --git a/README.md b/README.md new file mode 100644 index 0000000..5994162 --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +# Sailify webapps (cli) + +Make your webapps icons in the app box look better with the rest of your native apps by choosing whether the corners are rounded or pointed + +## Dependencies +- SailfishOS (tested in SailfishOS 4 with an Xperia XA2) +- [Python3-numpy](https://openrepos.net/content/nobodyinperson/python3-numpy) +- [Python3-pillow](https://openrepos.net/content/birdzhang/python3-pillow) + +## Usage +- Clone the repository or download the sailify_webapps.py on your phone +- On a terminal (or under SSH) type "python3 sailify_webapps.py" +- The program will show you the webapps you currently have on your device, select the one you want to change the icon for +- 4 numbers (0 or 1) depending on whether you want the corner rounded or pointed + - if you write 1001 the upper left corner and the lower right corner will be pointed and the rest will be rounded + - if you write 1111 all the corners will end in a point (they will make a perfect square) + - if you type 0100 the upper right corner will end in a point and the rest will be rounded + +## Images +### Amazon example +![Amazon instructions](/git_images/Amazon_instructions.jpg) +![Amazon result](/git_images/Amazon_result.jpg) +### Uber example +![Uber instructions](/git_images/Uber_instructions.jpg) +![Uber result](/git_images/Uber_result.jpg) + +## TO-DO +- [] fault tolerant +- [] create a GUI +- [] option to restore the original icon + +## Disclaimer +This is a very earlier version of this software and the results are not waranted, use it under your own responsability +This program create an .desktop_backup inside of ~/.local/share/applications/ that containing an intact version of the original icon + +Contributors are diff --git a/git_images/Amazon_instructions.jpg b/git_images/Amazon_instructions.jpg new file mode 100644 index 0000000..49829e6 Binary files /dev/null and b/git_images/Amazon_instructions.jpg differ diff --git a/git_images/Amazon_result.jpg b/git_images/Amazon_result.jpg new file mode 100644 index 0000000..7b25bd6 Binary files /dev/null and b/git_images/Amazon_result.jpg differ diff --git a/git_images/Uber_instructions.jpg b/git_images/Uber_instructions.jpg new file mode 100644 index 0000000..bd58af2 Binary files /dev/null and b/git_images/Uber_instructions.jpg differ diff --git a/git_images/Uber_result.jpg b/git_images/Uber_result.jpg new file mode 100644 index 0000000..093d6d6 Binary files /dev/null and b/git_images/Uber_result.jpg differ