Added Discord and messenger.

Fixed update shortcut to go into correct area
This commit is contained in:
2021-01-06 20:05:26 +10:00
parent 9ea24954d9
commit 5a286f12fe
7 changed files with 90 additions and 1 deletions

11
DesktopFiles/Discord.desktop Executable file
View File

@@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Discord
Comment=Discord Web App
Exec=/home/pi/webapps/discord.sh
Icon=/home/pi/webapps/icons/discord.svg
Path=/home/pi/webapps
Terminal=false
StartupNotify=false
Categories=Internet;

11
DesktopFiles/Messenger.desktop Executable file
View File

@@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Messenger
Comment=Facebook Messenger Web App
Exec=/home/pi/webapps/messenger.sh
Icon=/home/pi/webapps/icons/messenger.svg
Path=/home/pi/webapps
Categories=Internet;
Terminal=false
StartupNotify=false

View File

@@ -6,6 +6,6 @@ Comment=Get the latest Web Apps
Exec=/home/pi/webapps/update.sh Exec=/home/pi/webapps/update.sh
Icon=/home/pi/webapps/icons/update.png Icon=/home/pi/webapps/icons/update.png
Path=/home/pi/webapps Path=/home/pi/webapps
Categories=DesktopSettings; Categories=Settings;
Terminal=true Terminal=true
StartupNotify=false StartupNotify=false

2
discord.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
chromium-browser --user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36" --user-data-dir=/home/pi/.webapps/Discord --app=https://discord.com/login --window-size=1200,768

62
icons/discord.svg Normal file
View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="2184"
height="2500"
viewBox="0 0 256 293"
preserveAspectRatio="xMidYMid"
version="1.1"
id="svg60"
sodipodi:docname="discord.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata66">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs64" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1000"
id="namedview62"
showgrid="false"
inkscape:zoom="0.3188"
inkscape:cx="1139.0514"
inkscape:cy="1250"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg60" />
<rect
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:0.11721612"
id="rect68"
width="231.63788"
height="177.22136"
x="11.765734"
y="41.15992" />
<path
d="M226.011 0H29.99C13.459 0 0 13.458 0 30.135v197.778c0 16.677 13.458 30.135 29.989 30.135h165.888l-7.754-27.063 18.725 17.408 17.7 16.384L256 292.571V30.135C256 13.458 242.542 0 226.011 0zm-56.466 191.05s-5.266-6.291-9.655-11.85c19.164-5.413 26.478-17.408 26.478-17.408-5.998 3.95-11.703 6.73-16.823 8.63-7.314 3.073-14.336 5.12-21.211 6.291-14.044 2.633-26.917 1.902-37.888-.146-8.339-1.61-15.507-3.95-21.504-6.29-3.365-1.317-7.022-2.926-10.68-4.974-.438-.293-.877-.439-1.316-.732-.292-.146-.439-.292-.585-.438-2.633-1.463-4.096-2.487-4.096-2.487s7.022 11.703 25.6 17.261c-4.388 5.56-9.801 12.142-9.801 12.142-32.33-1.024-44.617-22.235-44.617-22.235 0-47.104 21.065-85.285 21.065-85.285 21.065-15.799 41.106-15.36 41.106-15.36l1.463 1.756C80.75 77.53 68.608 89.088 68.608 89.088s3.218-1.755 8.63-4.242c15.653-6.876 28.088-8.777 33.208-9.216.877-.147 1.609-.293 2.487-.293a123.776 123.776 0 0 1 29.55-.292c13.896 1.609 28.818 5.705 44.031 14.043 0 0-11.556-10.971-36.425-18.578l2.048-2.34s20.041-.44 41.106 15.36c0 0 21.066 38.18 21.066 85.284 0 0-12.435 21.211-44.764 22.235zm-68.023-68.316c-8.338 0-14.92 7.314-14.92 16.237 0 8.924 6.728 16.238 14.92 16.238 8.339 0 14.921-7.314 14.921-16.238.147-8.923-6.582-16.237-14.92-16.237m53.394 0c-8.339 0-14.922 7.314-14.922 16.237 0 8.924 6.73 16.238 14.922 16.238 8.338 0 14.92-7.314 14.92-16.238 0-8.923-6.582-16.237-14.92-16.237"
fill="#7289DA"
id="path58" />
</svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

1
icons/messenger.svg Normal file
View File

@@ -0,0 +1 @@
<svg width="128" height="128" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0)" fill-rule="evenodd" clip-rule="evenodd"><path d="M63.5 7.514c-32.347 0-57.422 23.694-57.422 55.699 0 16.74 6.86 31.206 18.034 41.198a4.586 4.586 0 011.542 3.273l.313 10.216c.1 3.257 3.466 5.378 6.447 4.061l11.397-5.031a4.58 4.58 0 013.067-.225c5.237 1.44 10.812 2.207 16.622 2.207 32.347 0 57.422-23.695 57.422-55.7 0-32.004-25.075-55.698-57.422-55.698" fill="url(#paint0_radial)"/><path d="M29.018 79.502L45.886 52.74c2.683-4.257 8.429-5.317 12.455-2.298l13.415 10.062a3.445 3.445 0 004.15-.012l18.12-13.75c2.417-1.836 5.574 1.058 3.956 3.626L81.114 77.13c-2.683 4.257-8.429 5.318-12.454 2.298L55.244 69.366a3.445 3.445 0 00-4.15.012l-18.12 13.75c-2.418 1.836-5.574-1.058-3.956-3.626" fill="#fff"/></g><defs><radialGradient id="paint0_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-57.092 125.99 34.968) scale(125.133)"><stop stop-color="#09F"/><stop offset=".61" stop-color="#A033FF"/><stop offset=".935" stop-color="#FF5280"/><stop offset="1" stop-color="#FF7061"/></radialGradient><clipPath id="clip0"><path fill="#fff" d="M0 0h128v128H0z"/></clipPath></defs></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

2
messenger.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
chromium-browser %U --user-agent="Mozilla/5.0 (X11; CrOS armv7l 11895.95.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.125 Safari/537.36" --user-data-dir=/home/pi/.webapps/Messenger --app=https://www.messenger.com/ --window-size=500,800