FIX #58 - Authy

Add Authy icon as requested in #58.

Modify the README.md. I noticed that the snaps icons are not following
the theme. This is because their .desktop is pointing to somewhere else,
but not to the usual places. An alternative is to copy the .desktop from
/var/lib/snapd/desktop/applications/name-of-snap-application.destop into
the local $HOME/.local/share/applications/ and modify the Icon= line to
point to the right one. This allow therefore a backup (original
.desktop) as well as avoid making change to these file, as each update
of the snaps will probably override these .desktop file, but not the
copy in the home folder.
This commit is contained in:
alvatip 2021-06-06 17:36:32 +02:00
parent 5df570a4f7
commit 4c43d195cf
3 changed files with 18 additions and 0 deletions

View file

@ -13,6 +13,9 @@ Usage: `./install.sh` **[OPTIONS...]**
|-n, --name | Specify theme name (Default: WhiteSur)|
|-h, --help | Show this help|
> **Note for snaps:** To use these icons with snaps, the best way is to make a copy of the application's .desktop located in `/var/lib/snapd/desktop/applications/name-of-the-snap-application.desktop` into `$HOME/.local/share/applications/`. Then use any text editor and change the "Icon=" to "Icon=name-of-the-icon.svg"
## Requirment
You can use this with:

View file

@ -0,0 +1 @@
authy.svg

View file

@ -0,0 +1,14 @@
<svg width="64" height="64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="linearGradient5816" x1="7.9373" x2="7.9373" y1="15.081" y2="1.852" gradientTransform="matrix(3.7796 0 0 3.7796 -.00099729 .030401)" gradientUnits="userSpaceOnUse">
<stop stop-color="#ec1c24" offset="0"/>
<stop stop-color="#f25a5f" offset="1"/>
</linearGradient>
</defs>
<rect x="3.0909" y="3.0909" width="57.818" height="57.818" rx="13.424" ry="13.424" opacity=".15" stroke-width="3.9022"/>
<rect x="3.999" y="3.999" width="56.002" height="56.002" rx="13.002" ry="13.002" fill="url(#linearGradient5816)" stroke-width="3.7796"/>
<g transform="translate(.084352 -1.7961)">
<path id="path1011-2" d="m29.618 31.045 6.4274 6.4251c0.92774 0.92899 2.4341 0.92899 3.3641 0 0.92795-0.92878 0.93005-2.4339 0-3.3629l-6.4278-6.4276c-4.5991-4.6002-12.032-4.6743-16.729-0.23371a1.997 1.997 0 0 0-0.1267 0.11476c-0.02054 0.02053-0.03725 0.0423-0.05759 0.06073-0.02094 0.0201-0.04227 0.03812-0.06222 0.05822-0.04062 0.04042-0.0777 0.08293-0.11309 0.12502-4.4429 4.6988-4.3664 12.132 0.23308 16.732l6.4276 6.4263c0.92983 0.92836 2.4341 0.92836 3.3637 0 0.93025-0.9292 0.93025-2.4362 2e-3 -3.3633l-6.4278-6.4274c-2.8058-2.8048-2.8247-7.3568-0.05818-10.186 2.8284-2.7665 7.3779-2.7464 10.184 0.05843zm8.2956-8.5597c-0.92879 0.9292-0.92879 2.4341 0.0023 3.3631l6.4253 6.4278c2.8042 2.8046 2.8224 7.3559 0.05615 10.185-2.8293 2.7644-7.3773 2.7459-10.183-0.05905l-6.4275-6.4269c-0.92941-0.9292-2.4362-0.9292-3.3646 0-0.93046 0.92836-0.93046 2.4381 0 3.3644l6.4255 6.428c4.6006 4.5999 12.033 4.6747 16.73 0.23372 0.04357-0.03853 0.08461-0.07435 0.12774-0.11497 0.01968-0.01989 0.03811-0.04021 0.05716-0.06073 0.02093-0.01989 0.04131-0.03833 0.06076-0.06052 0.04131-0.03833 0.07645-0.08042 0.11309-0.1244 4.4429-4.6969 4.3685-12.128-0.23078-16.73l-6.4276-6.4255c-0.92899-0.93046-2.4372-0.93046-3.3654 2.1e-4z" opacity=".15" stroke-width=".20942"/>
<path transform="translate(0 -4.7525)" d="m39.596 20.686c-0.88876 3.9e-5 -1.7862 0.34488-2.4609 1.0215-1.348 1.3499-1.3481 3.571 0.0039 4.9199l6.4238 6.4277c2.3813 2.3816 2.3974 6.2207 0.05469 8.627-2.4061 2.3413-6.2399 2.3241-8.623-0.05859l-6.4277-6.4277c-1.3502-1.3499-3.5719-1.3498-4.9219 0-1.3535 1.3504-1.3549 3.577 0 4.9258l6.4238 6.4258c5.0159 5.0152 13.144 5.0997 18.268 0.25586 0.03366-0.02941 0.07184-0.06138 0.12695-0.11328a1.1018 1.1018 0 0 0 0.02734-0.02734c0.01954-0.01975 0.02067-0.02367 0.0332-0.03711l0.03516-0.03516c0.0022-0.0024 0.01037-0.01222 0.01172-0.01367 0.0011-1e-3 0.0027-0.0028 0.0039-0.0039 0.09734-0.09032 0.14628-0.15388 0.18359-0.19922 4.823-5.1241 4.735-13.232-0.27148-18.242l-6.4277-6.4258c-0.67576-0.67682-1.5739-1.0196-2.4629-1.0195zm-14.928 2.3848c-3.292-0.04194-6.6055 1.1511-9.166 3.5684-0.0024 0.0023-0.0054 0.0036-0.0078 0.0059-0.04919 0.04287-0.09814 0.08692-0.14453 0.13281a1.1018 1.1018 0 0 0-0.0039 0.0039c-0.09435 0.0943-0.1046 0.10228-0.01758 0.02344a1.1018 1.1018 0 0 0-0.02344 0.02148c0.01-0.0096-0.01665 0.01422-0.08008 0.07813-0.05439 0.05449-0.09475 0.09843-0.13281 0.14258-0.0033 0.0035-0.0045 0.0082-0.0078 0.01172-4.8359 5.1255-4.7477 13.246 0.26367 18.258l6.4258 6.4258c1.3507 1.3486 3.5733 1.3487 4.9238 0 1.3516-1.3501 1.3525-3.573 2e-3 -4.9219l-6.4277-6.4277c-2.383-2.3822-2.4012-6.2217-0.05859-8.627 2.405-2.3426 6.241-2.3242 8.625 0.05859l6.4277 6.4257c1.3494 1.3512 3.5727 1.3496 4.9238 0 1.3481-1.3493 1.3517-3.5717 0-4.9219l-6.4277-6.4277c-2.5072-2.5078-5.7985-3.7881-9.0938-3.8301z" fill="#e6e6e6" stroke-width=".20942" xlink:href="#path1011-2"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB