5 lines
130 B
Bash
Executable file
5 lines
130 B
Bash
Executable file
#!/bin/sh
|
|
echo "[Desktop Entry]
|
|
Icon=text-html
|
|
Type=Link
|
|
URL=$1" >"$(test -n "$2" && echo $2 || echo $1 | cut -d'/' -f3).desktop"
|